Removed much redundant old code in getCommander

This commit is contained in:
Wyqer 2019-11-25 16:37:22 +01:00
parent a9b8319e68
commit 34594ddf9e
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
1 changed files with 1 additions and 7 deletions

View File

@ -15,10 +15,4 @@
Commander [OBJECT]
*/
if (!isNil "commandant") then {
{
if (_x == commandant) exitWith {_x};
} forEach allPlayers;
} else {
objNull
};
missionNamespace getVariable ["commandant", objNull]