Only call the Lua API for overridden actions
Currently, if at least one Lua script has been loaded, each mobj action, overridden or not, will invoke the Lua API each time it is called, causing overhead.
Not anymore, I guess.
Edited by LJ Sonic
Currently, if at least one Lua script has been loaded, each mobj action, overridden or not, will invoke the Lua API each time it is called, causing overhead.
Not anymore, I guess.