diff --git a/config/menus_edit.cfg b/config/menus_edit.cfg index e31dfb65..ce5568af 100644 --- a/config/menus_edit.cfg +++ b/config/menus_edit.cfg @@ -849,7 +849,7 @@ menuinit [ menuitem "\f3[ Delete vantage point ]" clearvantagepoint menuitem "" -1 ] - ] + ]] if(! $connected) [ menuitem "\f0[ Set current position and viewing angle as map vantage point ]" setvantagepoint ] diff --git a/config/resetbinds.cfg b/config/resetbinds.cfg index f5756435..ce4884d4 100644 --- a/config/resetbinds.cfg +++ b/config/resetbinds.cfg @@ -24,7 +24,7 @@ alias key_voteno [ if $votepending [ && (vote 2) (echo you voted no) ] ] alias key_teamchat [ saycommand % ] alias key_commandline [ saycommand / ] alias key_prevweapon [ weapon (prevweapon) ] -alias key_pause [ paused (! $paused) ] +alias key_pause [ if $connected togglepause [ paused (! $paused) ]] alias editkey_editmeta2 [ editmeta2down = 1 ; onrelease [ editmeta2down = 0 ] ] alias editkey_delete_entity [if $editmeta2down [showmenu "Deleted entities" ; menuselection "Deleted entities" (- (unlistdeletedentity) 1)] [if $editmetakeydown undelent delent]]