Whats Wrong in This Gameday GameTime System?
#10

Well yeah, it's just a debug just in case something does go wrong and it does happen to go over 60, which is very possible.

I made a /setminute command and I set the minutes to 60 while the timer was about to be called again, and then minutes was at 61. But because I have the subtraction idea, it goes to new hour + 1 second rather than completely resetting the seconds.

The subtraction isn't necessary, but it is better for a more accurate time if anything goes wrong.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)