Removed much redundant old code in getCommander
This commit is contained in:
parent
a9b8319e68
commit
34594ddf9e
|
@ -15,10 +15,4 @@
|
|||
Commander [OBJECT]
|
||||
*/
|
||||
|
||||
if (!isNil "commandant") then {
|
||||
{
|
||||
if (_x == commandant) exitWith {_x};
|
||||
} forEach allPlayers;
|
||||
} else {
|
||||
objNull
|
||||
};
|
||||
missionNamespace getVariable ["commandant", objNull]
|
||||
|
|
Loading…
Reference in New Issue