forgot to stage half the stuff

This commit is contained in:
Lostlarry
2019-06-22 21:26:30 +02:00
parent 2846fbcced
commit 36a68340a7
3 changed files with 17 additions and 1 deletions

View File

@@ -127,6 +127,22 @@
else
airlock.cyclelinkeddir = dir
/obj/effect/mapping_helpers/airlock/cyclelink_helper_target //yogs start
name = "airlock cyclelink helper target"
icon_state = "airlock_cyclelink_helper_target"
var/dirx
var/diry
/obj/effect/mapping_helpers/airlock/cyclelink_helper_target/payload(obj/machinery/door/airlock/airlock)
if(airlock.cyclelinkedx || airlock.cyclelinkedy)
log_mapping("[src] at [AREACOORD(src)] tried to set [airlock] cyclelinkedx and y, but they're already set")
else
if(!dirx && !diry)
log_mapping("[src] at [AREACOORD(src)] tried to set [airlock] cyclelinkedx and y, but has dirx and diry are uninitialized")
return
airlock.cyclelinkedx = dirx
airlock.cyclelinkedy = diry//yogs end
/obj/effect/mapping_helpers/airlock/locked
name = "airlock lock helper"