maint(ui_scripts): remove whitespaces and reorganize files (#5)
All checks were successful
test / Test on Linux (push) Successful in 6s

Co-authored-by: Wanted <wanted@no-reply@alterware.dev>
Co-committed-by: Wanted <wanted@no-reply@alterware.dev>
This commit is contained in:
2024-02-12 10:31:37 +00:00
committed by Jack Back
parent 8adb43f7fa
commit 7411101e22
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