Skip to content

Commit

Permalink
only offer the spectate mode toggle in fort mode
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Feb 28, 2025
1 parent 108e5e9 commit e0eea95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/spectate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ function Spectate:init()
on_change=function(val) dfhack.run_command(val and 'enable' or 'disable', 'spectate') end,
key='CUSTOM_ALT_E',
label='Spectate mode ',
enabled=dfhack.world.isFortressMode,
},
create_numeric_edit_field({t=4}, 'follow-seconds', 'CUSTOM_ALT_F', 'Switch target (sec): '),
create_toggle_button({t=6}, 'auto-unpause', 'CUSTOM_ALT_U', rpad('Auto unpause', lWidth)),
Expand Down

0 comments on commit e0eea95

Please sign in to comment.