Fix frontier phaser lock locations

This commit is contained in:
Arokha Sieyes
2020-04-22 02:09:12 -04:00
parent f396bb78ad
commit b355af8ae4

View File

@@ -184,7 +184,7 @@
/obj/item/weapon/gun/energy/locked/special_check(mob/user) /obj/item/weapon/gun/energy/locked/special_check(mob/user)
if(locked) if(locked)
var/turf/T = get_turf(src) var/turf/T = get_turf(src)
if(T.z in using_map.map_levels) if(T.z in using_map.station_levels)
to_chat(user, "<span class='warning'>The safety device prevents the gun from firing this close to the facility.</span>") to_chat(user, "<span class='warning'>The safety device prevents the gun from firing this close to the facility.</span>")
return 0 return 0
return ..() return ..()