Dreamchecker compatibility changes, part 1.

This commit is contained in:
Ghommie
2019-11-10 20:48:30 +01:00
parent c4849ead74
commit 1e49ce76d3
76 changed files with 149 additions and 118 deletions
+2 -2
View File
@@ -65,10 +65,10 @@ GLOBAL_LIST_EMPTY(menulist)
/datum/verbs/menu/Icon/Load_checked(client/C) //So we can be lazy, we invoke the "checked" menu item on menu load.
var/atom/verb/verbpath = Get_checked(C)
var/procpath/verbpath = Get_checked(C)
if (!verbpath || !(verbpath in typesof("[type]/verb")))
return
if (copytext(verbpath.name,1,2) == "@")
winset(C, null, list2params(list("command" = copytext(verbpath.name,2))))
else