Fixes the space tackling meme

This commit is contained in:
Artur
2021-01-20 15:50:41 +02:00
parent 1057721d2a
commit ef950400a4

View File

@@ -85,6 +85,10 @@
to_chat(user, "<span class='warning'>You're not ready to tackle!</span>")
return
if(!user.mob_has_gravity() ||!user.loc.has_gravity() || istype(user.loc, /turf/open/space))
to_chat(user, "<span class='warning'>You can't find your footing without gravity!</span>")
return
if(user.has_status_effect(STATUS_EFFECT_TASED)) // can't tackle if you just got tased
to_chat(user, "<span class='warning'>You can't tackle while tased!</span>")
return