Fixed bug with item generator crying when item is removed while its broken
This commit is contained in:
1 parent
ef4b8bd7cf
commit
b10ad40552
2 files changed
+5
-2
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user