mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Bugfixes
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
if (src.client.handle_spam_prevention(message,MUTE_DEADCHAT))
|
||||
return
|
||||
|
||||
if(copytext(message,1,2) == "*")
|
||||
return emote(copytext(message,2))
|
||||
|
||||
. = src.say_dead(message)
|
||||
|
||||
/*
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
//--FalseIncarnate
|
||||
*/
|
||||
// All mobs should have custom emote, really..
|
||||
/mob/proc/custom_emote(var/m_type=1,var/message = null)
|
||||
/mob/proc/custom_emote(var/m_type=0, var/message = null)
|
||||
|
||||
return emoteHandler.runEmote("me", null, message, m_type)
|
||||
return emoteHandler.runEmote("me", message, m_type)
|
||||
|
||||
/* if(stat || !use_me && usr == src)
|
||||
to_chat(usr, "You are unable to emote.")
|
||||
|
||||
@@ -27,14 +27,13 @@
|
||||
set_typing_indicator(0)
|
||||
usr.say(message)
|
||||
|
||||
/mob/verb/me_verb(message as text)
|
||||
|
||||
/mob/verb/me_verb()
|
||||
set name = "Me"
|
||||
set category = "Emotes"
|
||||
|
||||
message = strip_html_properly(message)
|
||||
return emoteHandler.runEmote("me")
|
||||
|
||||
set_typing_indicator(0)
|
||||
return emoteHandler.runEmote("me", null, message)
|
||||
|
||||
/mob/proc/say_dead(var/message)
|
||||
if(!(client && client.holder))
|
||||
|
||||
Reference in New Issue
Block a user