diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-06 21:52:34 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-06 21:52:34 +0000 |
commit | 1f534d940670d6df826be68b39fcaa846f139a81 (patch) | |
tree | b5c08b6f8a12a2047455e9b1066d855bf803e632 /Northstar.Client/mod/scripts/vscripts/ui | |
parent | f1a07e1b01923b45f7a82c063d25b8dea5b13d53 (diff) | |
download | NorthstarMods-1f534d940670d6df826be68b39fcaa846f139a81.tar.gz NorthstarMods-1f534d940670d6df826be68b39fcaa846f139a81.zip |
some bugfixes from playtest
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/ui')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut index c288b3a8..63377f9f 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut @@ -172,7 +172,7 @@ string function FormatServerDescription( int server ) void function OnServerSelected( var button ) { - if ( NSIsRequestingServerList() || !NSMasterServerConnectionSuccessful() ) + if ( NSIsRequestingServerList() || !NSMasterServerConnectionSuccessful() || NSGetServerCount() == 0 ) return int serverIndex = file.page * BUTTONS_PER_PAGE + int ( Hud_GetScriptID( button ) ) |