Skip to content

Commit

Permalink
Fixes overloaded escape pod explosion-spam
Browse files Browse the repository at this point in the history
  • Loading branch information
benbot16 committed Aug 31, 2024
1 parent f9cd32b commit b7f4ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/shuttle/shuttles/crashable/escape_shuttle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@
cryos += list(cryotube)
if (occupant_count > max_capacity)
playsound(src,'sound/effects/escape_pod_warmup.ogg', 50, 1)
mode = SHUTTLE_CRASHED
sleep(31)
var/turf/sploded = return_center_turf()
cell_explosion(sploded, 100, 20, EXPLOSION_FALLOFF_SHAPE_LINEAR, null, create_cause_data("escape pod malfunction")) //Clears out walls
sleep(25)
mode = SHUTTLE_CRASHED
for(var/obj/structure/machinery/cryopod/evacuation/cryotube in cryos)
cryotube.go_out()
door_handler.control_doors("force-unlock")
Expand Down

0 comments on commit b7f4ff3

Please sign in to comment.