Merge pull request #8993 from deathride58/fuckmemories
[s] fixes major server crash exploit vector involving notes
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user