From a071a5f2f646c66bdd98a2916be1f4fe18b888ba Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Wed, 8 Apr 2020 01:05:09 -0700 Subject: [PATCH] ok --- code/datums/components/storage/ui.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/components/storage/ui.dm b/code/datums/components/storage/ui.dm index 65f3811e92..7b7f39e1e7 100644 --- a/code/datums/components/storage/ui.dm +++ b/code/datums/components/storage/ui.dm @@ -84,7 +84,7 @@ // do the check for fallback for when someone has too much gamer gear if((MINIMUM_PIXELS_PER_ITEMS * length(contents)) > horizontal_pixels) to_chat(user, "[parent] was showed to you in legacy mode due to your items overrunning the three row limit! Consider not carrying too much or bugging a maintainer to raise this limit!") - return orient2hud_legacy(user, maxcolumns)VO + return orient2hud_legacy(user, maxcolumns) // after this point we are sure we can somehow fit all items with 8 pixels or more into our one row. // sigh loopmania time @@ -183,7 +183,7 @@ */ /datum/component/storage/vv_edit_var(var_name, var_value) var/list/old - if(var_name == NAMEOF(storage_flags)) + if(var_name == NAMEOF(src, storage_flags)) old = is_using.Copy() for(var/i in is_using) ui_hide(i)