Fixes runtime when thermiting a wall

Fixes not being able to put down a chair on a tile with a border window.
Fixes Borg module cycling not working when the first module is empty.
This commit is contained in:
phil235
2016-04-28 20:44:02 +02:00
committed by phil235
parent f1737eed34
commit d3fa99e58b
3 changed files with 9 additions and 8 deletions
@@ -253,7 +253,7 @@
if(istype(A,/obj/structure/chair))
user << "<span class='danger'>There is already a chair here.</span>"
return
if(A.density)
if(A.density && !(A.flags & ON_BORDER))
user << "<span class='danger'>There is already something here.</span>"
return