From dbd9dfa66b77f33636af17fb4f93ced6ab56fbab Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 7 Nov 2023 09:18:54 +0100 Subject: [PATCH] [MIRROR] All vehicles can no longer cross Force Fields [MDB IGNORE] (#24841) * All vehicles can no longer cross Force Fields (#79553) ## About The Pull Request Fixes #78625 The check only applied to mecha vehicles, when in reality there shouldn't be any vehicle that can freely transverse containment fields, since that vehicle will have a mob in it, which itself shouldn't be allowed to traverse containment fields. ## Why It's Good For The Game Makes behavior more consistent and expectable. ## Changelog :cl: fix: All vehicles (such as VIMs operated by a mouse or a lizard) will no longer be able to phase through containment fields. /:cl: * All vehicles can no longer cross Force Fields --------- Co-authored-by: san7890 --- code/modules/power/singularity/containment_field.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/singularity/containment_field.dm b/code/modules/power/singularity/containment_field.dm index ac6eb376ac3..75dfc4b5c5b 100644 --- a/code/modules/power/singularity/containment_field.dm +++ b/code/modules/power/singularity/containment_field.dm @@ -123,7 +123,7 @@ if(isliving(mover)) shock(mover) return - if(ismachinery(mover) || isstructure(mover) || ismecha(mover)) + if(ismachinery(mover) || isstructure(mover) || isvehicle(mover)) bump_field(mover) return