Skip to content

Commit

Permalink
Remove echo, add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AntlerForce committed Dec 22, 2024
1 parent 46f78c3 commit 5335af3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions LuaMenu/widgets/gui_battle_room_window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,9 @@ local function SetupInfoButtonsPanel(leftInfo, rightInfo, battle, battleID, myUs

if selected == "Default Boxes" then
local function defaultBoxes()
Spring.Echo(battle.nbTeams.." here")
if battleLobby.name == "singleplayer" then
battleLobby:SelectMap(battle.mapName)
elseif battle.nbTeams and tonumber(battle.nbTeams) > 1 then
elseif battle.nbTeams and tonumber(battle.nbTeams) > 1 then --Minimum 2 teams in multiplayer until PvE boxes are supported
battleLobby:SayBattle("!loadboxes")
else
battleLobby:SayBattle("!loadboxes \""..battle.mapName.."\" 2 0")
Expand Down

0 comments on commit 5335af3

Please sign in to comment.