mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Update EPOCH_simulSwap.sqf
Throw _object instead of _objtype to EPOCH_isBuildAllowed, so it can be ignored by counting elements
This commit is contained in:
parent
51f4564550
commit
2418d08ee5
@ -37,7 +37,7 @@ _isSnap = false;
|
||||
if (EPOCH_playerEnergy <= 0) exitWith {
|
||||
["Need Energy", 5] call Epoch_message;
|
||||
};
|
||||
if !(_objType call EPOCH_isBuildAllowed) exitWith{};
|
||||
if !(_object call EPOCH_isBuildAllowed) exitWith{};
|
||||
|
||||
EPOCH_simulSwap_Lock = true;
|
||||
_return = _object;
|
||||
|
Loading…
Reference in New Issue
Block a user