Disable class change button when ui_allow_classchange == false.

master
Icedream 2016-04-09 03:14:01 +02:00
parent 589616a0ad
commit 16dd739740
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@
textalignx -60
textscale 0.375
text "@MPUI_CHOOSE_CLASS"
disabled when ( !( ( localvarstring( "ui_team" ) == "marines" ) || ( localvarstring( "ui_team" ) == "opfor" ) ) || !( 1 ) )
disabled when ( !( ( localvarstring( "ui_team" ) == "marines" ) || ( localvarstring( "ui_team" ) == "opfor" ) ) || !( dvarbool( "ui_allow_classchange" ) ) )
action
{
play "mouse_click";