mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
[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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user