Merge pull request #14769 from Citadel-Station-13/silicons-patch-34

tweaks slaughter demon slam check
This commit is contained in:
Lin
2021-05-29 17:36:54 -05:00
committed by GitHub

View File

@@ -84,8 +84,8 @@
if(slam_cooldown + slam_cooldown_time > world.time)
to_chat(src, "<span class='warning'>Your slam ability is still on cooldown!</span>")
return
if(src.loc && !isopenturf(loc))
to_chat(src, "<span class='warning'>You can't do that while still in blood!")
if(!isopenturf(loc))
to_chat(src, "<span class='warning'>You need to be on open flooring to do that!")
return
face_atom(A)