Originally Posted by sirann
Heh, I was just reading examples of OnUpdate and noticed that no one changed elapsed and were doing just as you described instead. I was about to ask if I can even alter elapsed's value but you already answered that.
|
Changing the value of
elapsed doesn't do anything outside the scope of the function itself. Lua doesn't support sending values back through a function's parameters.