mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
Mime emote fixed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@310 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
I.trigger(act, src)
|
||||
|
||||
var/message
|
||||
|
||||
switch(act)
|
||||
if ("airguitar")
|
||||
if (!src.restrained())
|
||||
@@ -51,6 +52,8 @@
|
||||
if (input2 == "Visible")
|
||||
m_type = 1
|
||||
else if (input2 == "Hearable")
|
||||
if (src.miming)
|
||||
return
|
||||
m_type = 2
|
||||
else
|
||||
alert("Unable to use this emote, must be either hearable or visible.")
|
||||
|
||||
@@ -5,8 +5,11 @@
|
||||
return
|
||||
|
||||
log_say("[src.name]/[src.key] : [message]")
|
||||
if (src.miming)
|
||||
return
|
||||
|
||||
if (length(message) >= 1)
|
||||
if (copytext(message, 1, 2) != "*")
|
||||
if (src.miming)
|
||||
return
|
||||
|
||||
if (src.muted)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user