From 939eaef7e3d1a58297a2292f146b8ae9b055b3a8 Mon Sep 17 00:00:00 2001 From: AndroBetel <44546836+AndroBetel@users.noreply.github.com> Date: Thu, 6 Jun 2024 22:13:00 +0300 Subject: [PATCH] mortars can be deployed and fired at any z level (#279) Cant fire across z-levels, but it is what it is. --- code/modules/cm_marines/equipment/mortar/mortars.dm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code/modules/cm_marines/equipment/mortar/mortars.dm b/code/modules/cm_marines/equipment/mortar/mortars.dm index 86bc3f5917..33f341c9e2 100644 --- a/code/modules/cm_marines/equipment/mortar/mortars.dm +++ b/code/modules/cm_marines/equipment/mortar/mortars.dm @@ -215,9 +215,6 @@ if(busy) to_chat(user, SPAN_WARNING("Someone else is currently using [src].")) return - if(!is_ground_level(z)) - to_chat(user, SPAN_WARNING("You cannot fire [src] here.")) - return if(targ_x == 0 && targ_y == 0) //Mortar wasn't set to_chat(user, SPAN_WARNING("[src] needs to be aimed first.")) return @@ -385,9 +382,6 @@ if(!skillcheck(user, SKILL_ENGINEER, SKILL_ENGINEER_TRAINED)) to_chat(user, SPAN_WARNING("You don't have the training to deploy [src].")) return - if(!is_ground_level(deploy_turf.z)) - to_chat(user, SPAN_WARNING("You cannot deploy [src] here.")) - return var/area/A = get_area(deploy_turf) if(CEILING_IS_PROTECTED(A.ceiling, CEILING_PROTECTION_TIER_1)) to_chat(user, SPAN_WARNING("You probably shouldn't deploy [src] indoors."))