mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Fix movement turf changer element to check openspace (#65757)
Fixes #65472 (The movement_turf_changer element allows creatures to step onto open space and fill them in ) This adds an openspace check for the movement_turf_changer element so that whatever mob is using it will fall through openspace properly. I don't know what a moonicorn is but it sounds cool.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
SIGNAL_HANDLER
|
||||
|
||||
var/turf/destination = target.loc
|
||||
if(!isturf(destination) || istype(destination, turf_type))
|
||||
if(!isturf(destination) || istype(destination, turf_type) || isopenspaceturf(destination))
|
||||
return
|
||||
|
||||
destination.PlaceOnTop(turf_type)
|
||||
|
||||
Reference in New Issue
Block a user