mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Fix potential magazine and weapon dupes
This reverts 4b171cb.
player_regularSave should only be used if player_forceSave would interrupt an action like fire a weapon since it opens a dialog. player_regularSave does not save the ammo count but all magazines. Do not use nil instead of the magazines player array since it makes duping possible.
Thx to mmrsz
This commit is contained in:
@@ -20,7 +20,7 @@ if (isNil "keyboard_keys") then {
|
||||
};
|
||||
local _dze_q = {
|
||||
if (!_ctrlState && !_altState) then {DZE_Q = true;};
|
||||
if (!_ctrlState && {_altState}) then {DZE_Q_alt = true;};
|
||||
if (!_ctrlState && _altState) then {DZE_Q_alt = true;};
|
||||
if (_ctrlState && !_altState) then {DZE_Q_ctrl = true;};
|
||||
};
|
||||
local _dze_z = {
|
||||
|
||||
Reference in New Issue
Block a user