Clarifies keybinding conflict message (#58676)

Gives the heading an underline to separate it from the rest of the text and makes it title case so it stands out without overstating the urgency of the situation
This commit is contained in:
cacogen
2021-04-26 01:03:48 -07:00
committed by GitHub
parent a0750d026c
commit 5ca89a4640
+2 -2
View File
@@ -126,8 +126,8 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
addtimer(CALLBACK(src, .proc/announce_conflict, notadded), 5 SECONDS)
/datum/preferences/proc/announce_conflict(list/notadded)
to_chat(parent, "<span class='alertwarning'>KEYBINDING CONFLICT</span>\n\
<span class='alertwarning'>There are new <a href='?_src_=prefs;preference=tab;tab=3'>keybindings</a> that default to keys you've already bound. These will be unbound.</span>")
to_chat(parent, "<span class='alertwarning'><u>Keybinding Conflict</u></span>\n\
<span class='alertwarning'>There are new <a href='?_src_=prefs;preference=tab;tab=3'>keybindings</a> that default to keys you've already bound. The new ones will be unbound.</span>")
for(var/item in notadded)
var/datum/keybinding/conflicted = item
to_chat(parent, "<span class='danger'>[conflicted.category]: [conflicted.full_name] needs updating</span>")