Skip to content

Commit

Permalink
Merge pull request #1306 from CBATeam/nullLocationsTellNoTales
Browse files Browse the repository at this point in the history
createPerFrameHandlerObject - remove pfeh if location deleted
  • Loading branch information
commy2 authored Mar 13, 2020
2 parents 33554ac + 686ca7c commit 0a83503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/common/fnc_createPerFrameHandlerObject.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private _handle = [{
params ["_logic"];

if (isNil "_logic" || {isNull _logic}) exitWith {
(_logic getVariable "handle") call CBA_fnc_removePerFrameHandler;
(_this select 1) call CBA_fnc_removePerFrameHandler;
};

// deserialize
Expand Down

0 comments on commit 0a83503

Please sign in to comment.