Merge pull request #6665 from Citadel-Station-13/upstream-merge-37578

[MIRROR] Fix the top menus in the skin not working
This commit is contained in:
deathride58
2018-05-07 12:44:35 +00:00
committed by GitHub
2 changed files with 103 additions and 103 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
winset(src, "[topmenu.type]", "parent=menu;name=[url_encode(topmenuname)]")
var/list/entries = topmenu.Generate_list(src)
for (var/child in entries)
winset(src, "[url_encode(child)]", "[entries[child]]")
winset(src, "[child]", "[entries[child]]")
if (!ispath(child, /datum/verbs/menu))
var/atom/verb/verbpath = child
if (copytext(verbpath.name,1,2) != "@")