mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 11:05:16 +01:00
Fixed fancy boxes not showing proper contents
This commit is contained in:
@@ -29,8 +29,7 @@
|
||||
|
||||
/obj/item/storage/fancy/update_icon(itemremoved = 0)
|
||||
if(fancy_open)
|
||||
var/total_contents = src.contents.len - itemremoved
|
||||
icon_state = "[icon_type]box[total_contents]"
|
||||
icon_state = "[icon_type]box[src.contents.len]"
|
||||
else
|
||||
icon_state = "[icon_type]box"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user