diff options
-rw-r--r-- | client/map/items/plate.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/map/items/plate.gd b/client/map/items/plate.gd index 506cd643..7938a35d 100644 --- a/client/map/items/plate.gd +++ b/client/map/items/plate.gd @@ -22,7 +22,7 @@ func _init(owned_by_: Node3D, contents: Array): add_child(load("res://map/items/plate.tscn").instantiate()) # Custom logic for handling burgers with buns on bottom and top - if contents.has("sliced-bun"): + if contents.has("sliced-bun") and contents.size() > 1: contents.erase("sliced-bun") contents.push_front("sliced-bun-bottom") contents.push_back("sliced-bun-top") |