mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Miscellaneous Fixes Pt. 2
- Shelter Capsules deployed indoors will no longer destroy above turfs.
This commit is contained in:
@@ -49,6 +49,8 @@
|
||||
var/turf/deploy_location = get_turf(src)
|
||||
var/status = template.check_deploy(deploy_location)
|
||||
var/turf/above_location = GetAbove(deploy_location)
|
||||
if(!isopenspace(above_location))
|
||||
above_location = null
|
||||
if(above_location && status == SHELTER_DEPLOY_ALLOWED)
|
||||
status = template.check_deploy(above_location)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user