mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Merge pull request #3176 from Fox-McCloud/supermatter-fix
Supermatter Fix
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
var/stability = num2text(round((damage / explosion_point) * 100))
|
||||
|
||||
if(damage > emergency_point)
|
||||
radio.autosay("[emergency_alert] Instability: [stability]%", src)
|
||||
radio.autosay("[emergency_alert] Instability: [stability]%", src.name)
|
||||
lastwarning = world.timeofday
|
||||
if(!has_reached_emergency)
|
||||
investigate_log("has reached the emergency point for the first time.", "supermatter")
|
||||
@@ -106,11 +106,11 @@
|
||||
has_reached_emergency = 1
|
||||
|
||||
else if(damage >= damage_archived) // The damage is still going up
|
||||
radio.autosay("[warning_alert] Instability: [stability]%", src)
|
||||
radio.autosay("[warning_alert] Instability: [stability]%", src.name)
|
||||
lastwarning = world.timeofday - 150
|
||||
|
||||
else // Phew, we're safe
|
||||
radio.autosay("[safe_alert]", src)
|
||||
radio.autosay("[safe_alert]", src.name)
|
||||
lastwarning = world.timeofday
|
||||
|
||||
if(damage > explosion_point)
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
author: Fox McCloud
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Fixes the supermatter announcement causing massive amounts of server lag."
|
||||
Reference in New Issue
Block a user