Skip to content

Commit

Permalink
switched choices format
Browse files Browse the repository at this point in the history
  • Loading branch information
TimGoll committed Oct 10, 2023
1 parent 2ba7ba7 commit 7477cd3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lua/terrortown/lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1991,8 +1991,8 @@ L.corpse_hint_public_policing_searched = "Press [{usekey}] to view search result

L.label_inspect_confirm_mode = "Select body search mode"
L.choice_inspect_confirm_mode_0 = "mode 0: standard TTT"
L.choice_inspect_confirm_mode_0 = "mode 1: limited confirm"
L.choice_inspect_confirm_mode_0 = "mode 2: limited search"
L.choice_inspect_confirm_mode_1 = "mode 1: limited confirm"
L.choice_inspect_confirm_mode_2 = "mode 2: limited search"
L.help_inspect_confirm_mode = [[
There are three different body search/confirm modes in this gamemode. The selection of this mode has huge influences to the importance of public policing roles like the detective.
Expand Down
11 changes: 10 additions & 1 deletion lua/terrortown/menus/gamemode/administration/roundsetup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,16 @@ function CLGAMEMODESUBMENU:Populate(parent)
form:MakeComboBox({
label = "label_inspect_confirm_mode",
serverConvar = "ttt2_inspect_confirm_mode",
choices = {"choice_inspect_confirm_mode_0", "choice_inspect_confirm_mode_1" ,"choice_inspect_confirm_mode_2"}
choices = {{
value = 0,
title = "choice_inspect_confirm_mode_0"
},{
value = 1,
title = "choice_inspect_confirm_mode_1"
},{
value = 2,
title = "choice_inspect_confirm_mode_2"
}}
})

local form2 = vgui.CreateTTT2Form(parent, "header_round_setup_prep")
Expand Down

0 comments on commit 7477cd3

Please sign in to comment.