Merge pull request #680 from diamante0018/develop

[Vote]: Do not load broken menus
This commit is contained in:
Edo 2022-12-28 15:59:04 +01:00 committed by GitHub
commit 5d56219234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,8 +326,6 @@ namespace Components
Menus::Add("ui_mp/scriptmenus/callvote.menu"); Menus::Add("ui_mp/scriptmenus/callvote.menu");
Menus::Add("ui_mp/scriptmenus/kickplayer.menu"); Menus::Add("ui_mp/scriptmenus/kickplayer.menu");
Menus::Add("ui_mp/scriptmenus/changegametype.menu");
Menus::Add("ui_mp/scriptmenus/changemap.menu");
UIScript::Add("voteKick", []([[maybe_unused]] const UIScript::Token& token, [[maybe_unused]] const Game::uiInfo_s* info) UIScript::Add("voteKick", []([[maybe_unused]] const UIScript::Token& token, [[maybe_unused]] const Game::uiInfo_s* info)
{ {