mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 10:03:50 +01:00
[s] Fixes Mechs Protecting Their Pilots From the Crushing Force of a 2 000 Metric Ton Shuttlecraft. (#26211)
* Update shuttle.dm * async * Update code/game/mecha/mecha.dm Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com> Signed-off-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com> --------- Signed-off-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com> Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -640,6 +640,11 @@
|
||||
var/obj/machinery/atmospherics/supermatter_crystal/bakoom = AM
|
||||
addtimer(CALLBACK(bakoom, TYPE_PROC_REF(/obj/machinery/atmospherics/supermatter_crystal, explode), bakoom.combined_gas, bakoom.power, bakoom.gasmix_power_ratio), 1 SECONDS)
|
||||
continue
|
||||
// Your mech will not save you.
|
||||
if(ismecha(AM))
|
||||
var/obj/mecha/mech = AM
|
||||
if(mech.occupant)
|
||||
INVOKE_ASYNC(mech, TYPE_PROC_REF(/obj/mecha, get_out_and_die))
|
||||
if(ismob(AM))
|
||||
var/mob/M = AM
|
||||
if(M.buckled)
|
||||
|
||||
Reference in New Issue
Block a user