Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuity - Fix String Bug #32

Merged
merged 19 commits into from
Aug 7, 2022
7 changes: 6 additions & 1 deletion addons/continuity/functions/fnc_registerObjectID.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,10 @@
params["_object", "_edenID"];
TRACE_2("registerObjectID",_object,_edenID);

if (_object isEqualType "") then {
_object = missionNamespace getVariable [_object, objNull];
};
if (isNull _object) exitWith {};

GVAR(idMap) set [_edenID, _object];
_object setVariable [QGVAR(objectID), _edenID, true];
_object setVariable [QGVAR(objectID), _edenID, true];