aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts/vscripts/ui
diff options
context:
space:
mode:
authorEnderBoy9217 <122132914+EnderBoy9217@users.noreply.github.com>2023-10-03 18:02:03 -0400
committerGitHub <noreply@github.com>2023-10-04 00:02:03 +0200
commit9864becc72543206f2d2b1305aed7041b81e1c4b (patch)
tree38f5f53ebd9fa427d28b672cc49f5cff2bb6eb46 /Northstar.Client/mod/scripts/vscripts/ui
parent9605106b0f0530c5383aa89d3ec884e72c8d7c3e (diff)
downloadNorthstarMods-9864becc72543206f2d2b1305aed7041b81e1c4b.tar.gz
NorthstarMods-9864becc72543206f2d2b1305aed7041b81e1c4b.zip
Fix integer functionality for modsettings (#718)
Add missing break statement
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/ui')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/menu_mod_settings.nut1
1 files changed, 1 insertions, 0 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_mod_settings.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_mod_settings.nut
index a45082c7..8c13955c 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/menu_mod_settings.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_mod_settings.nut
@@ -949,6 +949,7 @@ void function SendTextPanelChanges( var textPanel )
ThrowInvalidValue( "This setting is an integer, and only accepts whole numbers." )
Hud_SetText( textPanel, GetConVarString( c.conVar ) )
}
+ break
case "bool":
if ( newSetting != "0" && newSetting != "1" )
{