Merge pull request #9841 from Heroman3003/ceilingfix

Hopefully fixes ceiling blocker for good.
This commit is contained in:
Novacat
2021-03-03 09:09:39 -05:00
committed by Chompstation Bot
parent 964ca6e909
commit b6553a924c
2 changed files with 10 additions and 5 deletions

View File

@@ -105,6 +105,13 @@
to_chat(src, "<span class='warning'>Gravity stops you from moving upward.</span>")
return 0
//VOREStation Addition Start
for(var/atom/A in start)
if(!A.CheckExit(src, destination))
to_chat(src, "<span class='warning'>\The [A] blocks you.</span>")
return 0
//VOREStation Addition End
for(var/atom/A in destination)
if(!A.CanPass(src, start, 1.5, 0))
to_chat(src, "<span class='warning'>\The [A] blocks you.</span>")