You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
basically should just run at the end of the current tick/frame instead of at the start of the next tick (specifically right before GM:Tick) like timer.Simple(0, function() end) does
could be called something like Defer(function() end)
the main difference is that it would execute the function before any further simulation happens and without the 1-tick delay in real time
also, using a zero-second timer.Simple is such a common pattern in gmod coding and its uses only very occasionally actually require a 1-tick delay, it would be better if we had a more intentioned function instead of practically jury-rigging with timers for this purpose
The text was updated successfully, but these errors were encountered:
basically should just run at the end of the current tick/frame instead of at the start of the next tick (specifically right before GM:Tick) like
timer.Simple(0, function() end)
doescould be called something like
Defer(function() end)
the main difference is that it would execute the function before any further simulation happens and without the 1-tick delay in real time
also, using a zero-second timer.Simple is such a common pattern in gmod coding and its uses only very occasionally actually require a 1-tick delay, it would be better if we had a more intentioned function instead of practically jury-rigging with timers for this purpose
The text was updated successfully, but these errors were encountered: