mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2025-12-13 11:38:15 +07:00
cancel deferring ops in systems on error
This commit is contained in:
@@ -4466,7 +4466,7 @@ local function __system_process(system)
|
||||
local success, result = __lua_pcall(execute, chunk, entity_list, entity_count)
|
||||
|
||||
if not success then
|
||||
__evolved_commit()
|
||||
__evolved_cancel()
|
||||
__error_fmt('system execution failed: %s', result)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user