LuaAPI: buggy TotalRounds
authorWuzzy
Thu, 08 Feb 2018 18:25:26 +0000
changeset 1158 8d62ba66e7b0
parent 1157 700fccda9e4d
child 1159 ed6441e7ff84
LuaAPI: buggy TotalRounds
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Feb 08 18:24:37 2018 +0000
+++ b/LuaAPI.wiki	Thu Feb 08 18:25:26 2018 +0000
@@ -89,7 +89,7 @@
 || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. You can change this variable directly. ||
 || `ReadyTimeLeft` || Remaining ready time in millseconds, 0 if turn in progress. Can be set in onNewTurn. In other places, it should only be read, not written. ||
 || `GameTime` || Number of total game ticks ||
-|| `TotalRounds` || Number of rounds that have passed. Is `-1` if game has not started yet, or hog are still being placed ||
+|| `TotalRounds` || Number of rounds that have passed. Equals `-1` if game has not started yet or hogs are still being placed. This variable is buggy in 0.9.23 and earlier! ||
 || `CurrentHedgehog` || The hedgehog gear that is currently in play ||
 || `AmmoTypeMax` || Maximum ammo type ID (useful to iterate through all ammo types, starting by 0) ||