[MIRROR] Fix Alt Clicking opening up a window and Add back some object verbs to the browser stat panel (#630)

* Fix Alt Clicking opening up a window and add back some object verbs to the browser stat panel (#53369)

Fixes some more issues with browser stat panel

- Alt clicking items in the listed turf tab doesn't open up a popup
- Toggle suit sensors button missing

* Fix Alt Clicking opening up a window and Add back some object verbs to the browser stat panel

Co-authored-by: Couls <coul422@gmail.com>
This commit is contained in:
SkyratBot
2020-09-04 00:11:50 +01:00
committed by GitHub
co-authored by Couls
parent 6fe43c533f
commit df7b65aca2
4 changed files with 104 additions and 26 deletions
+7 -1
View File
@@ -1003,8 +1003,14 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
if(IsAdminAdvancedProcCall())
return
var/list/verblist = list()
var/list/verbstoprocess = verbs.Copy()
if(mob)
verbstoprocess += mob.verbs
for(var/AM in mob.contents)
var/atom/movable/thing = AM
verbstoprocess += thing.verbs
verb_tabs.Cut()
for(var/thing in (verbs + mob?.verbs))
for(var/thing in verbstoprocess)
var/procpath/verb_to_init = thing
if(!verb_to_init)
continue