Remove OEMPos variable

I do not see any use for this variable any longer. Ive tested building, upgrading lock/unlock objects. It seems it has no affect and can be replaced with the normal getPosATL from objects.
This commit is contained in:
A Man
2022-03-26 14:53:12 +01:00
parent cf6ca366d3
commit fc6680c360
8 changed files with 7 additions and 14 deletions

View File

@@ -68,7 +68,7 @@ if (_isStorage) then {
sk_changeCode = [player,_cursorTarget,dayz_combination,dayz_authKey];
publicVariableServer "sk_changeCode";
} else {
_location = _cursorTarget getVariable["OEMPos",getPosATL _cursorTarget];
_location = getPosATL _cursorTarget;
_dir = getDir _cursorTarget;
_vector = [vectorDir _cursorTarget,vectorUp _cursorTarget];