mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Remove redundant access checks for upgrade and downgrade
Access control for upgrade and downgrade is now included in fn_selfActions as per #1706 I moved _upgrade down in fn_selfActions so it is only checked it if the right conditions are met.
This commit is contained in:
@@ -136,7 +136,7 @@ if(_targetType == "DOOR") then {
|
||||
// RESULT
|
||||
[ _isOwner
|
||||
, _isFriendly
|
||||
, _isPlotOwner // Same as _isOwner if _target is a PlotPole
|
||||
, _isPlotOwner
|
||||
, _isPlotFriend
|
||||
, _isPlotAdmin
|
||||
, _isTargetFriend
|
||||
|
||||
Reference in New Issue
Block a user