mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Adds Trait Genetics (#10142)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d81e145924
commit
7bfffc808d
@@ -84,6 +84,8 @@ var/global/list/emotes_by_key
|
||||
/decl/emote/proc/do_emote(var/atom/user, var/extra_params)
|
||||
if(ismob(user) && check_restraints)
|
||||
var/mob/M = user
|
||||
if(M.transforming) //Transforming acts as a stasis.
|
||||
return
|
||||
if(M.restrained())
|
||||
to_chat(user, span_warning("You are restrained and cannot do that."))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user