Why is this code make my scrip hang?
Posted: Wed Jul 06, 2016 2:17 pm
Why is this code make my scrip hang when executed twice in a row
I mean my game will hang forever ...but the way this is written it should stop for 1 second at worst.
Code: Select all
if lastfloat ~= nil and lastfloat+60 < game.tick then
while lastfloat+60 < game.tick do
end
end