diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 7d150d890d..51fc6c54f6 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -130,7 +130,8 @@ L.update_arousal_hud() //Removes the old icon /datum/mind/proc/store_memory(new_text) - memory += "[new_text]
" + if((length(memory) + length(new_text)) <= MAX_MESSAGE_LEN) + memory += "[new_text]
" /datum/mind/proc/wipe_memory() memory = null