This commit is contained in:
BongaTheProto
2023-02-16 17:04:00 -05:00
parent 972df3f711
commit b61500c13a
3 changed files with 9 additions and 6 deletions

View File

@@ -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 += "<b>Announce Login:</b> <a href='?_src_=prefs;preference=announce_login'>[(toggles & ANNOUNCE_LOGIN)?"Enabled":"Disabled"]</a><br>"
dat += "<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>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 //deadmin
dat += "<h2>Deadmin While Playing</h2>" dat += "<h2>Deadmin While Playing</h2>"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -168,10 +168,12 @@
set category = "IC" set category = "IC"
set src in view(usr.client) 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 return
var/datum/component/interaction_menu_granter/menu = held_mob.GetComponent(/datum/component/interaction_menu_granter)
if(menu)
menu.open_menu(usr, src) menu.open_menu(usr, src)
else // you bad
remove_verb(src, /mob/proc/interact_with)