Removing new trade hotkeys while a counteroffer is displayed. · ScottishNobody/dfhack@aaa8a82 · GitHub
Skip to content

Commit aaa8a82

Browse files
committed
Removing new trade hotkeys while a counteroffer is displayed.
Fixes http://www.bay12forums.com/smf/index.php?topic=126076.1140 It's tempting to use has_offer for this effect, but that flag remains true after hitting Enter to consider the offer. Relies on a structure update: DFHack/df-structures#18
1 parent 6d9d616 commit aaa8a82

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

plugins/autotrade.cpp

Lines changed: 7 additions & 0 deletions

plugins/search.cpp

Lines changed: 16 additions & 0 deletions

0 commit comments

Comments
 (0)