fix
This commit is contained in:
@@ -82,8 +82,6 @@
|
||||
emote = attack_two
|
||||
if("ARREST")
|
||||
emote = arrest_emote
|
||||
if("THREAT_LEVEL")
|
||||
emote = threat
|
||||
|
||||
//now replace pieces of the text with the information we have
|
||||
if(emote_type != "TAUNT" && emote_type != "ARREST")
|
||||
@@ -92,7 +90,7 @@
|
||||
emote = replacetext(emote, "BOT", "<b>[name]</b>") //needs to be bold if its a taunt or an arrest text
|
||||
if(criminal)
|
||||
emote = replacetext(emote, "CRIMINAL", criminal.name)
|
||||
if(threat)
|
||||
if(num2text(threat)) //because a threat of 0 will be false
|
||||
emote = replacetext(emote, "THREAT_LEVEL", threat)
|
||||
if(arrest > -1)
|
||||
emote = replacetext(emote, "ARREST_TYPE", arrest_texts[arrest + 1])
|
||||
|
||||
Reference in New Issue
Block a user