Skip to content

Commit 483b62c

Browse files
committed
Removes useless codes
I added toggleRadioGUI for testing and forget to remove it before push
1 parent 165950a commit 483b62c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

[gameplay]/internetradio/logic/gui/CRadioGUI.lua

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ local function initializeRadioGUI()
3535
guiWindowSetSizable(RADIO_GUI["Radio window"], false)
3636
guiGridListSetSortingEnabled(RADIO_GUI["Stream URLs gridlist"], false)
3737
guiScrollBarSetScrollPosition(RADIO_GUI["Volume"], 100)
38-
38+
3939
loadRadioStations()
4040

4141
addEventHandler("onClientGUIClick", RADIO_GUI["Stream URLs gridlist"], onClientGUIClickLoadStationStreamURL, false)
@@ -80,6 +80,4 @@ function onClientResourceStartRadioGUI()
8080

8181
toggleRadioGUI()
8282
end
83-
addEventHandler("onClientResourceStart", resourceRoot, onClientResourceStartRadioGUI)
84-
85-
setTimer(toggleRadioGUI, 500, 1)
83+
addEventHandler("onClientResourceStart", resourceRoot, onClientResourceStartRadioGUI)

0 commit comments

Comments
 (0)