[MIRROR] moves sdql spell to vv dropdown (#5522)

* moves sdql spell to vv dropdown (#58911)

* moves sdql spell to vv dropdown

Co-authored-by: Fikou <piotrbryla@onet.pl>
This commit is contained in:
SkyratBot
2021-05-07 08:42:51 +02:00
committed by GitHub
parent bfa74ccf8d
commit f8f2c8222f
3 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -1191,6 +1191,7 @@
VV_DROPDOWN_OPTION(VV_HK_DIRECT_CONTROL, "Assume Direct Control")
VV_DROPDOWN_OPTION(VV_HK_GIVE_DIRECT_CONTROL, "Give Direct Control")
VV_DROPDOWN_OPTION(VV_HK_OFFER_GHOSTS, "Offer Control to Ghosts")
VV_DROPDOWN_OPTION(VV_HK_SDQL_SPELL, "Give SDQL Spell")
/mob/vv_do_topic(list/href_list)
. = ..()
@@ -1242,7 +1243,10 @@
if(!check_rights(NONE))
return
offer_control(src)
if(href_list[VV_HK_SDQL_SPELL])
if(!check_rights(R_DEBUG))
return
usr.client.cmd_give_sdql_spell(src)
/**
* extra var handling for the logging var
*/