Skip to content

Commit

Permalink
Merge pull request Baystation12#35019 from MuckerMayhem/bsd-fix
Browse files Browse the repository at this point in the history
fix bluespace pulse not teleporting people
  • Loading branch information
MuckerMayhem authored Jan 11, 2025
2 parents 38f704e + cfac98d commit 087a7d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code/game/machinery/bluespace_drive.dm
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,8 @@
/// Creates an expanding bluespace pulse on all z-levels connected to the drive
/obj/machinery/bluespacedrive/proc/do_pulse()
playsound(src, 'sound/effects/EMPulse.ogg', 100, TRUE)
var/datum/bubble_effect/bluespace_pulse/parent
for (var/level in GetConnectedZlevels(z))
parent = new (x, y, level, 1, 1, parent)
new /datum/bubble_effect/bluespace_pulse(x, y, level, 1, 1, src)


/// Creates a blinding flash of light that will blind and deafen those in range, and change turfs to bluespace
Expand Down Expand Up @@ -183,7 +182,7 @@
var/interlude_teleport_chance = 0
var/affect_chance = 0

/datum/bubble_effect/bluespace_pulse/New(obj/machinery/bluespacedrive/parent)
/datum/bubble_effect/bluespace_pulse/New(center_x, center_y, z, initial_radius, delta, parent)
..()
src.parent = parent
START_PROCESSING(SSfastprocess, src)
Expand Down

0 comments on commit 087a7d2

Please sign in to comment.