Pryaxis / TSAPI

🛠🌳 The TShock Scaffold API enables developers to build plugins that hook directly into the Terraria game engine.
http://tshock.co/
GNU General Public License v3.0
109 stars 66 forks source link

Pass GameTime into GameUpdate and GamePostUpdate Hooks #180

Closed Arthri closed 4 years ago

Arthri commented 4 years ago

GameTime should be passed into both hooks, it allows for telling the passing of time easier

hakusaro commented 4 years ago

This seems reasonable.

kevzhao2 commented 4 years ago

GameTime is defaulted in the Update method, so there is no value to doing this.

Arthri commented 4 years ago

Oh yeah