Merge pull request #8993 from deathride58/fuckmemories

[s] fixes major server crash exploit vector involving notes
This commit is contained in:
BlackMajor
2019-07-29 09:51:07 +12:00
committed by GitHub
+2 -1
View File
@@ -130,7 +130,8 @@
L.update_arousal_hud() //Removes the old icon
/datum/mind/proc/store_memory(new_text)
memory += "[new_text]<BR>"
if((length(memory) + length(new_text)) <= MAX_MESSAGE_LEN)
memory += "[new_text]<BR>"
/datum/mind/proc/wipe_memory()
memory = null