[MIRROR] Fixes xenomorph larva getting stuck by evolving while ventcrawling (#604)

* Fixes xenomorph larva getting stuck by evolving while ventcrawling #53265

* Fixes xenomorph larva getting stuck by evolving while ventcrawling

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-09-02 03:02:17 +02:00
committed by GitHub
co-authored by Wayland-Smithy
parent ed8b176a0d
commit b35050433b
@@ -44,6 +44,10 @@
to_chat(L, "<span class='name'>Drones</span> <span class='info'>are the weakest and slowest of the castes, but can grow into a praetorian and then queen if no queen exists, and are vital to maintaining a hive with their resin secretion abilities.</span>")
var/alien_caste = alert(L, "Please choose which alien caste you shall belong to.",,"Hunter","Sentinel","Drone")
if(L.movement_type & VENTCRAWLING)
to_chat(user, "<span class='warning'>You cannot evolve while ventcrawling!</span>")
return
if(user.incapacitated()) //something happened to us while we were choosing.
return