Skip to content

Instantly share code, notes, and snippets.

@PilzAdam
Created August 6, 2013 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PilzAdam/6164236 to your computer and use it in GitHub Desktop.
Save PilzAdam/6164236 to your computer and use it in GitHub Desktop.
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index e000e66..610926e 100644
--- a/builtin/mainmenu.lua
+++ b/builtin/mainmenu.lua
@@ -864,7 +864,11 @@ function tabbuilder.init()
end
end
- menu.update_gametype()
+ if tabbuilder.current_tab ~= "singleplayer" then
+ menu.update_gametype(true)
+ else
+ menu.update_gametype()
+ end
end
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment