keeperrl icon indicating copy to clipboard operation
keeperrl copied to clipboard

CRASH when you claim furniture that will delete itself

Open samuellsk opened this issue 1 year ago • 0 comments

image

i know, not a vanilla bug ... yet....

Have a few controllers in the prebuilt base that player is supposed to claim in the end of "tutorial" , but if he does that before all the controllers (invisible furniture on the ceiling...) is removed (controller has RemoveFurniture function after executing actions) , than this crash will pop.

short example:

"ABYSSUS_TOMB_SCROLL_USED" { name = "scroll check" canBuildOutsideOfTerritory = true layer = MIDDLE tickType = Effect Filter Frequency 3 { Filter Flag "abyssus_tomb_scroll_used_message" { some stuff... ... SetFlag "abyssus_tomb_scroll_used_message" false RemoveFurniture "ABYSSUS_TOMB_SCROLL_USED" } .. .

If player claims the tiles , before this is triggered, the remove furniture will crash the game.

samuellsk avatar Aug 30 '23 22:08 samuellsk