Makes it compile also custom emote fix.

This commit is contained in:
Ghommie
2020-02-06 01:40:14 +01:00
parent 233ed5873f
commit a3e2ec372f
2 changed files with 3 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ GLOBAL_LIST_INIT(freqtospan, list(
/atom/movable/proc/attach_spans(input, list/spans)
var/customsayverb = findtext(input, "*")
if(customsayverb)
input = capitalize(copytext(input, length(input[customsayverb]) + 1))
input = capitalize(copytext(input, customsayverb + length(input[customsayverb])))
if(input)
return "[message_spans_start(spans)][input]</span>"
else

View File

@@ -171,7 +171,8 @@
var/turf/T = user.loc //get user's location for delay checks
//the istype cascade has been spread among various procs for easy overriding
if(try_clean(W, user, T) || try_wallmount(W, user, T) || try_decon(W, user, T) || (iswall(src) && try_destroy(W, user, T)))
var/srctype = type
if(try_clean(W, user, T) || try_wallmount(W, user, T) || try_decon(W, user, T) || (type == srctype && try_destroy(W, user, T)))
return
return ..()