Closed main-gi closed 3 years ago
getSimTime is time since the game started on the local machine. getRealTime is the time since local machine boot. Don't use either of them for absolute timekeeping. Use one of the playgui/$Time totalTime variables.
Fixed in commits c06fcd6 3525e48 with playgui's totalTime but I don't understand why the old code only broke on Mega Marble / Teleporter when the MBG original powerups were fine, as well as the fireball timer code using getSimTime() and just subtracting one from the other and working. However it is fixed now so whatever.
Maybe affects Teleporters and Teleporter powerup as well but I haven't tested it. I think getSimTime() is different from host to non-host or something, but anyway the powerup timer's supposed to go from 10 to 0, but with this bug the visual will appear to be -50000. This is only a visual bug that affects a newly added feature, but still annoying that it exists.