mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Merge pull request #9841 from Heroman3003/ceilingfix
Hopefully fixes ceiling blocker for good.
This commit is contained in:
committed by
Chompstation Bot
parent
964ca6e909
commit
b6553a924c
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user