Skip to content
Snippets Groups Projects
Commit 03a84083 authored by Harry Wyatt's avatar Harry Wyatt
Browse files

Fixed an error with diposing of Unlocks class

parent 7c17df32
No related branches found
No related tags found
No related merge requests found
......@@ -256,7 +256,7 @@ class Chest(GameObject):
else:
# We need to remove the item if it's an item that destroys itself after use
if self.requires.perish_on_open:
self.dispose(None, player)
self.requires.dispose(None, player)
contains_type = type(self.contains)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment