mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[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 🆑 fix: All vehicles (such as VIMs operated by a mouse or a lizard) will no longer be able to phase through containment fields. /🆑 * All vehicles can no longer cross Force Fields --------- Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user