Skip to content
Permalink
Browse files

fixed double recvluamsg definitions

  • Loading branch information...
Ruwetuin committed Oct 3, 2019
1 parent 606aa30 commit 747d4a55464e09177409857c1cfc956693da224a
@@ -473,14 +473,7 @@ function widget:DrawScreenEffectsBlur()
end
end

function widget:RecvLuaMsg(msg, playerID)
if msg:sub(1,18) == 'LobbyOverlayActive' then
chobbyInterface = (msg:sub(1,19) == 'LobbyOverlayActive1')
end
end

function widget:DrawScreen()
if chobbyInterface then return end
if Spring.IsGUIHidden() then return end

if ((screenBlur or next(guishaderScreenRects) or next(guishaderScreenDlists))) and blurShader then
@@ -184,12 +184,6 @@ function widget:Shutdown()
gl.DeleteFont(font)
end

function widget:RecvLuaMsg(msg, playerID)
if msg:sub(1,18) == 'LobbyOverlayActive' then
chobbyInterface = (msg:sub(1,19) == 'LobbyOverlayActive1')
end
end

function widget:DrawWorld()
if chobbyInterface then return end
glColor(1, 1, 1, 0.5)
@@ -724,12 +724,6 @@ end
--end


function widget:RecvLuaMsg(msg, playerID)
if msg:sub(1,18) == 'LobbyOverlayActive' then
chobbyInterface = (msg:sub(1,19) == 'LobbyOverlayActive1')
end
end

function widget:DrawWorld()
if chobbyInterface then return end
if mouseOnUnitID and (not WG['topbar'] or not WG['topbar'].showingQuit()) then
@@ -852,11 +852,6 @@ function widget:DrawScreen()

glColor(1, 1, 1, 1)
end
function widget:RecvLuaMsg(msg, playerID)
if msg:sub(1,18) == 'LobbyOverlayActive' then
chobbyInterface = (msg:sub(1,19) == 'LobbyOverlayActive1')
end
end

function widget:DrawWorld()
if chobbyInterface then return end
@@ -1118,14 +1118,7 @@ function widget:RecvLuaMsg(msg, playerID)
end
end

function widget:RecvLuaMsg(msg, playerID)
if msg:sub(1,18) == 'LobbyOverlayActive' then
chobbyInterface = (msg:sub(1,19) == 'LobbyOverlayActive1')
end
end

function widget:DrawScreen()
if chobbyInterface then return end
if chobbyInterface then return end
local now = os.clock()

0 comments on commit 747d4a5

Please sign in to comment.
You can’t perform that action at this time.