ALiVEOS / ALiVE.OS

ALiVE Open Source GPL v2
http://alivemod.com/
Other
160 stars 80 forks source link

Replace self-referencing BIS_fnc_MP call to address a crash #775

Closed bradon closed 2 years ago

bradon commented 2 years ago

Fix for a crash in sys_log

When [nil,"removeActions", anObject] call ALIVE_fnc_logistics; is run, if !(hasInterface) exitwith { [[_logic, "removeActionsTerm", _args],"ALIVE_fnc_logistics", owner _args, false] call BIS_fnc_MP; }; is called forever serverside until the server crashes.

What causes the nil call to occur in the first place hasn't been identified, but this should address both a nil call, and other potential runaway.