# HG changeset patch # User Wuzzy # Date 1518114326 0 # Node ID 8d62ba66e7b0728775131a43b1721e996626b493 # Parent 700fccda9e4db6ede3fca4442f57565d45e3e33b LuaAPI: buggy TotalRounds diff -r 700fccda9e4d -r 8d62ba66e7b0 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) ||