[s] fixes major server crash exploit vector involving notes

This commit is contained in:
deathride58
2019-07-28 13:08:02 -04:00
parent e79bf3ab07
commit a373899ae0
+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