diff --git a/code/modules/vehicles/train.dm b/code/modules/vehicles/train.dm index 228deaff652..400dea59f49 100644 --- a/code/modules/vehicles/train.dm +++ b/code/modules/vehicles/train.dm @@ -62,7 +62,8 @@ // Vehicle procs //------------------------------------------- /obj/vehicle/train/explode() - tow.unattach() + if (tow) + tow.unattach() unattach() ..()