Skip to content

Commit

Permalink
Fix behavior of emagged bluespace tap (ParadiseSS13#28275)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dzianishchyts authored Feb 6, 2025
1 parent d606b90 commit 265881e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/station_goals/bluespace_tap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
* Prob treats values less than 0 as 0.
*/

if(prob((mining_power - clamp(30 MW - mining_power, 0, 15 MW) - stabilizer_power) / (10 MW)) + (emagged * 5))
if(prob((mining_power - clamp(30 MW - mining_power, 0, 15 MW) - stabilizer_power) / (10 MW) + (emagged * 5)))
var/area/our_area = get_area(src)
if((!spawning || !length(active_nether_portals)))
GLOB.major_announcement.Announce("Unexpected power spike during Bluespace Harvester Operation. Extra-dimensional intruder alert. Expected location: [our_area.name]. [emagged ? "DANGER: Emergency shutdown failed! Please proceed with manual shutdown." : auto_shutdown ? "Emergency shutdown initiated." : "Automatic shutdown disabled."]", "Bluespace Harvester Malfunction", 'sound/AI/harvester.ogg')
Expand Down

0 comments on commit 265881e

Please sign in to comment.