mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 20:05:22 +09:00
Fixed BIG bug killing ExpGamingCore.Server/on_tick
This commit is contained in:
@@ -451,7 +451,10 @@ function Server._thread:error(err)
|
||||
if is_type(self._error,'function') then
|
||||
Manager.sandbox(self._error,self._env,self,err)
|
||||
_return = true
|
||||
else error(err) end
|
||||
else
|
||||
self:close() -- no matter what happens next this thread will be closed
|
||||
error('Thread Error (no handler): '..err)
|
||||
end
|
||||
return _return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user