Engine error on removing storage area


#1

Hi, I would like to thank you all first for a great game that keeps me on managing mostly everything! I would like to share this bug that starts when a 20x20 storage area is not longer useful in it’s place. When I remove it I received this engine error.

release-549 (x64)
radiant/modules/entities.lua:78: attempt to call method 'is_valid' (a nil value)
stack traceback:
	[C]: in function 'is_valid'
	radiant/modules/entities.lua:78: in function 'destroy_entity'
	stonehearth/call_handlers/entities_call_handler.lua:18: in function <stonehearth/call_handlers/entities_call_handler.lua:15>

#2

Hey there @Nek, welcome to the Discourse!

Thanks for the report :smiley:.