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:
ebaydayz
2016-07-09 14:34:38 -04:00
parent 326fda70b1
commit 4ff088c80c
4 changed files with 4 additions and 62 deletions

View File

@@ -136,7 +136,7 @@ if(_targetType == "DOOR") then {
// RESULT
[ _isOwner
, _isFriendly
, _isPlotOwner // Same as _isOwner if _target is a PlotPole
, _isPlotOwner
, _isPlotFriend
, _isPlotAdmin
, _isTargetFriend