Skip to content

fix nil index if there are no siege engines on the map (fixes #5751) - #1602

Open
chdoc wants to merge 1 commit into
DFHack:masterfrom
chdoc:fix-siegemanager
Open

fix nil index if there are no siege engines on the map (fixes #5751)#1602
chdoc wants to merge 1 commit into
DFHack:masterfrom
chdoc:fix-siegemanager

Conversation

@chdoc

@chdoc chdoc commented Aug 11, 2026

Copy link
Copy Markdown
Member

In addition to fixing the actual nil index, I also disable the buttons to set siege engine actions if there are no siege engines.

fixes: DFHack/dfhack#5751

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

siegemanager throws lua errors in the console if no siege engine is present in the fort

1 participant