mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
followup
This commit is contained in:
@@ -1346,6 +1346,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
dat += "<b>Announce Login:</b> <a href='?_src_=prefs;preference=announce_login'>[(toggles & ANNOUNCE_LOGIN)?"Enabled":"Disabled"]</a><br>"
|
||||
dat += "<br>"
|
||||
dat += "<b>Combo HUD Lighting:</b> <a href = '?_src_=prefs;preference=combohud_lighting'>[(toggles & COMBOHUD_LIGHTING)?"Full-bright":"No Change"]</a><br>"
|
||||
dat += "<b>Use Modern Player Panel:</b> <a href='?_src_=prefs;preference=use_new_playerpanel'>[use_new_playerpanel ? "Yes" : "No"]</a><br>" //SPLURT Edit
|
||||
|
||||
//deadmin
|
||||
dat += "<h2>Deadmin While Playing</h2>"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 20 KiB |
@@ -168,10 +168,12 @@
|
||||
set category = "IC"
|
||||
set src in view(usr.client)
|
||||
|
||||
if(!src)
|
||||
var/datum/component/interaction_menu_granter/menu = usr.GetComponent(/datum/component/interaction_menu_granter)
|
||||
if(!menu)
|
||||
to_chat(usr, span_warning("You must have done something really bad to not have an interaction component."))
|
||||
return
|
||||
|
||||
if(!src)
|
||||
to_chat(usr, span_warning("Your interaction target is gone!"))
|
||||
return
|
||||
var/datum/component/interaction_menu_granter/menu = held_mob.GetComponent(/datum/component/interaction_menu_granter)
|
||||
if(menu)
|
||||
menu.open_menu(usr, src)
|
||||
else // you bad
|
||||
remove_verb(src, /mob/proc/interact_with)
|
||||
|
||||
Reference in New Issue
Block a user