Skip to content

Commit

Permalink
Fix NPCLoader calling PreDraw method in PostDraw (tModLoader#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flashkirby authored and Jofairden committed Jun 10, 2017
1 parent 75548f0 commit 76010f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/tModLoader/Terraria.ModLoader/NPCLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ public static void PostDraw(NPC npc, SpriteBatch spriteBatch, Color drawColor)

foreach (GlobalNPC g in HookPostDraw.arr)
{
g.Instance(npc).PreDraw(npc, spriteBatch, drawColor);
g.Instance(npc).PostDraw(npc, spriteBatch, drawColor);
}
}

Expand Down

0 comments on commit 76010f2

Please sign in to comment.