made event timing more precise; allowed tick times <1ms

This commit is contained in:
Redo
2020-04-01 18:08:20 -05:00
parent 7cc28c5e97
commit e8f69cce08
3 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
function LuaLogicTCP::sendData(%this)
{
cancel(%this.lualogicTick);
%this.lualogicTick = %this.schedule(31, "sendData");
%this.lualogicTick = %this.schedule(1, "sendData");
if(%this.data !$= "")
{