Skip to content

Commit

Permalink
Made xeno count input better
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 20, 2023
1 parent 029d28f commit 63e0517
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions code/modules/admin/game_master/game_master.dm
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ GLOBAL_LIST_EMPTY(game_master_objectives)
data["selected_xeno"] = selected_xeno
data["spawn_ai"] = spawn_ai
data["spawn_click_intercept"] = spawn_click_intercept
data["xeno_spawn_count"] = xeno_spawn_count

// Objective stuff
data["objective_click_intercept"] = objective_click_intercept
Expand Down
7 changes: 4 additions & 3 deletions tgui/packages/tgui/interfaces/GameMaster.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ export const GameMaster = (props, context) => {
<Flex grow>
<Flex.Item>
<Button.Input
fluid
middle
content="###"
minWidth={4}
minHeight={2}
content={data.xeno_spawn_count}
currentValue={data.xeno_spawn_count}
onCommit={(e, value) => {
act('set_xeno_spawns', { value });
}}
Expand Down

0 comments on commit 63e0517

Please sign in to comment.