mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
Split up and rename var/flags (#17794)
* Split up and rename `var/flags` * Various fixes * CL * Don't rename Phoron Guard phoron preset --------- Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
co-authored by
Cody Brittain
parent
4b9303a1e9
commit
06601c9ec3
@@ -18,7 +18,7 @@
|
||||
density = 0
|
||||
dir = NORTH
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
flags = ON_BORDER
|
||||
atom_flags = ATOM_FLAG_CHECKS_BORDER
|
||||
|
||||
var/obj/item/airlock_electronics/electronics = null
|
||||
|
||||
@@ -271,7 +271,7 @@
|
||||
if (obstacle == src)
|
||||
continue
|
||||
|
||||
if((obstacle.flags & ON_BORDER) && obstacle.dir == targetdir)
|
||||
if((obstacle.atom_flags & ATOM_FLAG_CHECKS_BORDER) && obstacle.dir == targetdir)
|
||||
to_chat(usr, SPAN_WARNING("You can't turn the windoor assembly that way, there's already something there!"))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user