mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
replace magic numbers related to emp and explosion severity with defines (#26495)
replace even more magic emp and ex numbers
This commit is contained in:
@@ -455,7 +455,7 @@
|
||||
. = ..()
|
||||
if(!active || !wearer)
|
||||
return
|
||||
to_chat(wearer, "<span class='warning'>[severity > 1 ? "Light" : "Strong"] electromagnetic pulse detected!")
|
||||
to_chat(wearer, "<span class='warning'>[severity > EMP_HEAVY ? "Light" : "Strong"] electromagnetic pulse detected!")
|
||||
if(emp_proof)
|
||||
return
|
||||
selected_module?.on_deactivation(display_message = TRUE)
|
||||
|
||||
Reference in New Issue
Block a user