Radio pain message fix

This commit is contained in:
Markolie
2014-12-23 01:23:53 +01:00
parent e88194f895
commit 37fba799d6
+2 -1
View File
@@ -186,8 +186,9 @@ var/list/department_radio_keys = list(
message_mode = null //only humans can use headsets
if(traumatic_shock > 61 && prob(50))
if(message_mode)
src << "<span class='warning'>You try to use your radio, but you are in too much pain.</span>"
message_mode = null //people in shock will have a high chance of not being able to speak on radio; needed since people don't instantly pass out at 100 damage.
src << "<span class='warning'>You try to use your radio, but you are in too much pain.</span>"
message = capitalize(message)