Skip to content

Commit

Permalink
Removing logging and the like
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed Nov 19, 2024
1 parent 35d23f7 commit cca7d0b
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions lua/ui/lobby/autolobby.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ function HostGame(gameName, scenarioFileName, singlePlayer)
"_scenario.lua")
AutolobbyCommunicationsInstance:HostGame()
end

-- -- start with a loading dialog
-- import("/lua/ui/lobby/autolobby/AutolobbyInterface.lua").GetSingleton()
-- :CreateLoadingDialog()
end

local rejoinTest = false
Expand All @@ -116,26 +112,6 @@ function JoinGame(address, asObserver, playerName, uid)
AutolobbyCommunicationsInstance.JoinParameters.DesiredPeerId = uid
AutolobbyCommunicationsInstance:JoinGame(address, playerName, uid)
end

if rejoinTest then
rejoinTest = false
ForkThread(
function()
local startSpot = tonumber(GetCommandLineArg("/startspot", 1)[1]) or 1
if startSpot == 2 then
WaitSeconds(3)
LOG(" -- REJOIN TEST -- ")
if AutolobbyCommunicationsInstance then
AutolobbyCommunicationsInstance:DisconnectFromPeer("3")
end
end
end
)
end

-- -- start with a loading dialog
-- import("/lua/ui/lobby/autolobby/AutolobbyInterface.lua").GetSingleton()
-- :CreateLoadingDialog()
end

--- Called by the engine.
Expand Down

0 comments on commit cca7d0b

Please sign in to comment.