Uses regex datums and macros for text-manipulation (#61042)

This commit is contained in:
Rohesie
2021-08-27 06:13:57 -03:00
committed by GitHub
parent c0eec587f0
commit a7f81bd169
6 changed files with 58 additions and 61 deletions
+1 -1
View File
@@ -376,7 +376,7 @@
/obj/structure/sign/painting/proc/save_persistent()
if(!persistence_id || !current_canvas || current_canvas.no_save)
return
if(sanitize_filename(persistence_id) != persistence_id)
if(SANITIZE_FILENAME(persistence_id) != persistence_id)
stack_trace("Invalid persistence_id - [persistence_id]")
return
if(!current_canvas.painting_name)