mirror of https://github.com/Ellpeck/MLEM.git
suppress MlemGame deprecation warning for DrawEarly
This commit is contained in:
parent
4854d420e0
commit
a7c6230434
|
@ -114,7 +114,9 @@ namespace MLEM.Startup {
|
|||
this.PreDraw?.Invoke(this, gameTime);
|
||||
CoroutineHandler.RaiseEvent(CoroutineEvents.PreDraw);
|
||||
|
||||
#pragma warning disable CS0618
|
||||
this.UiSystem.DrawEarly(gameTime, this.SpriteBatch);
|
||||
#pragma warning restore CS0618
|
||||
this.DoDraw(gameTime);
|
||||
this.UiSystem.Draw(gameTime, this.SpriteBatch);
|
||||
|
||||
|
|
Loading…
Reference in New Issue