We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dfc910 commit 29c53c4Copy full SHA for 29c53c4
amx/client/client.lua
@@ -211,7 +211,7 @@ function destroyClassSelGUI()
211
setGravity(0.008)
212
setElementCollisionsEnabled(localPlayer, true)
213
showCursor(false)
214
- if g_ClassSelectionInfo then
+ if g_ClassSelectionInfo and g_ClassSelectionInfo.gui then
215
removeEventHandler ( "onClientGUIClick", g_ClassSelectionInfo.gui.btnLeft, ClassSelLeft )
216
removeEventHandler ( "onClientGUIClick", g_ClassSelectionInfo.gui.btnRight, ClassSelRight )
217
removeEventHandler ( "onClientGUIClick", g_ClassSelectionInfo.gui.btnSpawn, ClassSelSpawn )
0 commit comments