Describe the bug:
When the 1 second Lua timeout happens, dt is capped to .4 seconds, the server time will also just progress by .4 seconds (but UTC will stay correct).
How do you cause this bug?
- List the steps
Add a script with an OnTick function like:
function ScriptName:OnTick(dt) print(dt) while true do end end
the script will timeout when the frame reaches a second, but dt will never print more than .4s (even if it should be able to print up to 1s).
Screenshots / video of bug:
Which platform: PC
Which input: keyboard + mouse
Your Crayta username: Daigoro
How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible):
Version number (found in Help tab in Settings): 0.f3.28.120518