Skip to content

Commit

Permalink
pauses these subsystems too (#36693)
Browse files Browse the repository at this point in the history
  • Loading branch information
SECBATON-GRIFFON authored Jun 25, 2024
1 parent 23c457f commit 24bd8ad
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions code/game/objects/explosion.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,14 @@ var/explosion_shake_message_cooldown = 0
message_admins("If uncapped, its size would have been ([round(true_range*0.25)], [round(true_range*0.5)], [round(true_range)])")
log_game("If uncapped, its size would have been ([round(true_range*0.25)], [round(true_range*0.5)], [round(true_range)])")

//Pause the lighting updates for a bit.
//Pause some updates for a bit.
var/postponeCycles = max(round(devastation_range/8),1)
SSlighting.postpone(postponeCycles)
if(postponeCycles)
SSlighting.postpone(postponeCycles)
SSair.postpone(postponeCycles)
SSburnable.postpone(postponeCycles)
SSpower.postpone(postponeCycles)
SSpipenet.postpone(postponeCycles)

var/x0 = epicenter.x
var/y0 = epicenter.y
Expand Down

0 comments on commit 24bd8ad

Please sign in to comment.