aboutsummaryrefslogtreecommitdiff
path: root/client/player/item_bubble.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/player/item_bubble.gd')
-rw-r--r--client/player/item_bubble.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/player/item_bubble.gd b/client/player/item_bubble.gd
index e57fbace..6bfe60b1 100644
--- a/client/player/item_bubble.gd
+++ b/client/player/item_bubble.gd
@@ -29,7 +29,8 @@ func set_item(t: String):
func remove_item():
visible = false
- item.queue_free()
+ if item != null:
+ item.queue_free()
func _process(delta):
if item != null: