organize menu lua

- fix some whitespace
This commit is contained in:
WantedDV
2024-02-10 12:28:15 -03:30
parent b7e877e4b8
commit ea1ad507a0
9 changed files with 217 additions and 102 deletions

View File

@@ -10,7 +10,7 @@ end
function CanChangeTeam()
local f9_local0 = GameX.GetGameMode()
local f9_local1
if f9_local0 ~= "aliens" and Engine.TableLookup( GameTypesTable.File, GameTypesTable.Cols.Ref, f9_local0, GameTypesTable.Cols.TeamChoice ) == "1" then
if f9_local0 ~= "aliens" and Engine.TableLookup(GameTypesTable.File, GameTypesTable.Cols.Ref, f9_local0, GameTypesTable.Cols.TeamChoice) == "1" then
f9_local1 = not MLG.IsMLGSpectator()
else
f9_local1 = false