mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
some more 516 compat fixes (#89766)
Ports the helpers from https://github.com/BeeStation/BeeStation-Hornet/pull/12240 This should fix some more of the 516 issues that I've seen while giving a quick check through the code The remaining browse should work now. Also fixing another sass warning while being on it. ## About The Pull Request ## Why It's Good For The Game ## Changelog 🆑 fix: tgui say 516 will no longer change channels when the button is used to drag it fix: tgui say 516 will no longer leak radio messages into the wrong channel fix: runechat flickering when faded up messages fade out /🆑
This commit is contained in:
@@ -394,7 +394,7 @@ SUBSYSTEM_DEF(dynamic)
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
|
||||
var/list/out = list("<TITLE>Threat Log</TITLE><B><font size='3'>Threat Log</font></B><br><B>Starting Threat:</B> [threat_level]<BR>")
|
||||
var/list/out = list("<B><font size='3'>Threat Log</font></B><br><B>Starting Threat:</B> [threat_level]<BR>")
|
||||
|
||||
for(var/entry in threat_log)
|
||||
if(istext(entry))
|
||||
@@ -402,7 +402,7 @@ SUBSYSTEM_DEF(dynamic)
|
||||
|
||||
out += "<B>Remaining threat/threat_level:</B> [mid_round_budget]/[threat_level]"
|
||||
|
||||
usr << browse(out.Join(), "window=threatlog;size=700x500")
|
||||
usr << browse(HTML_SKELETON_TITLE("Threat Log", out.Join()), "window=threatlog;size=700x500")
|
||||
|
||||
/// Generates the threat level using lorentz distribution and assigns peaceful_percentage.
|
||||
/datum/controller/subsystem/dynamic/proc/generate_threat()
|
||||
|
||||
Reference in New Issue
Block a user