callClientFunction now returns ALL results. Fixed some scripts, finished fixing up Gridania opening script.

This commit is contained in:
Filip Maj 2017-03-21 00:43:30 -04:00
parent 6e12668176
commit b345521f79
11 changed files with 80 additions and 19 deletions

View file

@ -60,8 +60,7 @@ end
function callClientFunction(player, functionName, ...)
player:RunEventFunction(functionName, ...);
result = coroutine.yield("_WAIT_EVENT", player);
return result;
return coroutine.yield("_WAIT_EVENT", player);
end
function wait(seconds)