summaryrefslogtreecommitdiff
path: root/StardewModdingAPI
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-03-01 01:37:56 -0500
committerZoryn Aaron <zoryn4163@gmail.com>2016-03-01 01:37:56 -0500
commitf511c36ad357b7085891aa917e67dcd0fe51b522 (patch)
tree5de723280aaa3b3c9e0a6c3453f0618f799eb82f /StardewModdingAPI
parent9a32b3afdda54e513cd370a0edfa87febc5cd1f0 (diff)
downloadSMAPI-f511c36ad357b7085891aa917e67dcd0fe51b522.tar.gz
SMAPI-f511c36ad357b7085891aa917e67dcd0fe51b522.tar.bz2
SMAPI-f511c36ad357b7085891aa917e67dcd0fe51b522.zip
HandsomeMatt pull request accepted
Diffstat (limited to 'StardewModdingAPI')
-rw-r--r--StardewModdingAPI/Inheritance/SGame.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/StardewModdingAPI/Inheritance/SGame.cs b/StardewModdingAPI/Inheritance/SGame.cs
index 6ac78410..b549aaf4 100644
--- a/StardewModdingAPI/Inheritance/SGame.cs
+++ b/StardewModdingAPI/Inheritance/SGame.cs
@@ -51,15 +51,15 @@ namespace StardewModdingAPI.Inheritance
Program.Log("XNA Initialize");
ModItems = new Dictionary<Int32, SObject>();
PreviouslyPressedKeys = new Keys[0];
- Events.InvokeInitialize();
base.Initialize();
+ Events.InvokeInitialize();
}
protected override void LoadContent()
{
Program.Log("XNA LoadContent");
- Events.InvokeLoadContent();
base.LoadContent();
+ Events.InvokeLoadContent();
}
protected override void Update(GameTime gameTime)
@@ -97,16 +97,16 @@ namespace StardewModdingAPI.Inheritance
if (CurrentLocation != null)
CurrentLocation.update(gameTime);
- Events.InvokeUpdateTick();
base.Update(gameTime);
+ Events.InvokeUpdateTick();
PreviouslyPressedKeys = CurrentlyPressedKeys;
}
protected override void Draw(GameTime gameTime)
{
- Events.InvokeDrawTick();
base.Draw(gameTime);
+ Events.InvokeDrawTick();
spriteBatch.Begin(SpriteSortMode.FrontToBack, BlendState.AlphaBlend, SamplerState.PointClamp, (DepthStencilState)null, (RasterizerState)null);
if (CurrentLocation != null)
CurrentLocation.draw(Game1.spriteBatch);