Fixed bug with item generator crying when item is removed while its broken

This commit is contained in:
akshay committed 2022-08-18 21:03:23 -04:00
1 parent ef4b8bd7cf
commit b10ad40552
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ func on_gen_timer_timeout():
assert(false, "gen timer should be disabled while broken")
func on_item_slot_item_changed(item):
assert(false, "item dump should be disabled while broken")
assert(item == null, "item dump adds should be disabled while broken")
func on_item_dump_item_dump_completed():
ctx.full_heal()