From 4f9e6bd16df10a4cbc89156f66bdcf2d94e53bfc Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Thu, 15 Jun 2017 20:57:56 -0500 Subject: [PATCH] Proper fix for icon scaling preferences --- interface/menu.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/menu.dm b/interface/menu.dm index b85af86fb4..c49067391e 100644 --- a/interface/menu.dm +++ b/interface/menu.dm @@ -68,10 +68,11 @@ GLOBAL_LIST_EMPTY(menulist) var/atom/verb/verbpath = Get_checked(C) if (!verbpath || !(verbpath in typesof("[type]/verb"))) return + if (copytext(verbpath.name,1,2) == "@") - winset(C, null, "command = [copytext(verbpath.name,2)]") + winset(C, null, list2params(list("command" = copytext(verbpath.name,2)))) else - winset(C, null, "command = [replacetext(verbpath.name, " ", "-")]") + winset(C, null, list2params(list("command" = replacetext(verbpath.name, " ", "-")))) /datum/verbs/menu/Icon/Size checkbox = CHECKBOX_GROUP