generated from fgardt/factorio-mod-template
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Makes maraxsis object death listener no longer look at unit_numb…
…er, as the unit_number field in domes actually contained the LuaRenderObject id. (#217) * fix bug and improve naming * simplify removing nonexistent invalid domes * undo renaming for savegame compatibility * event.entity can't be a render object * nil the dome data if surface is invalid. * Add guards to protect aganist nil render_object_id --------- Co-authored-by: notnotmelon <[email protected]>
- Loading branch information
1 parent
f2c046e
commit ae222fa
Showing
1 changed file
with
15 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters