Merge pull request #13336 from Putnam3145/fix-threat-removal

Fixes threat adjustment in the game panel not to always go up.
This commit is contained in:
silicons
2020-09-04 12:55:32 -07:00
committed by GitHub
+1 -4
View File
@@ -204,10 +204,7 @@ GLOBAL_VAR_INIT(dynamic_forced_storyteller, null)
var/threatadd = input("Specify how much threat to add (negative to subtract). This can inflate the threat level.", "Adjust Threat", 0) as null|num
if(!threatadd)
return
if(threatadd > 0)
create_threat(threatadd)
else
remove_threat(threatadd)
create_threat(threatadd)
else if (href_list["injectlate"])
latejoin_injection_cooldown = 0
forced_injection = TRUE