From 52ab5abb0c206145181e3375144e6862b8b99fe9 Mon Sep 17 00:00:00 2001 From: Ty-Omaha Date: Wed, 12 Sep 2018 02:15:15 -0400 Subject: [PATCH] canvas removal --- code/game/objects/structures/artstuff.dm | 9 +++++++++ code/modules/research/designs/autolathe_designs.dm | 2 ++ 2 files changed, 11 insertions(+) diff --git a/code/game/objects/structures/artstuff.dm b/code/game/objects/structures/artstuff.dm index 4d02555eac5..cc31699766d 100644 --- a/code/game/objects/structures/artstuff.dm +++ b/code/game/objects/structures/artstuff.dm @@ -72,6 +72,15 @@ var/global/list/globalBlankCanvases[AMT_OF_CANVASES] icon_state = "23x23" whichGlobalBackup = 4 +//HEY YOU +//ARE YOU READING THE CODE FOR CANVASES? +//ARE YOU AWARE THEY CRASH HALF THE SERVER WHEN SOMEONE DRAWS ON THEM... +//...AND NOBODY CAN FIGURE OUT WHY? +//THEN GO ON BRAVE TRAVELER +//TRY TO FIX THEM AND REMOVE THIS CODE +/obj/item/canvas/Initialize() + ..() + return INITIALIZE_HINT_QDEL //Delete on creation //Find the right size blank canvas /obj/item/canvas/proc/getGlobalBackup() diff --git a/code/modules/research/designs/autolathe_designs.dm b/code/modules/research/designs/autolathe_designs.dm index cbc6ad98582..f7ab0abbcb9 100644 --- a/code/modules/research/designs/autolathe_designs.dm +++ b/code/modules/research/designs/autolathe_designs.dm @@ -856,6 +856,7 @@ build_path = /obj/item/videocam category = list("initial", "Miscellaneous") +/* THESE ARE BROKEN AND CRASH EVERYONE. SEE code/game/objects/structures/artstuff.dm /datum/design/canvas name = "11px by 11px Canvas" id = "canvas" @@ -887,6 +888,7 @@ materials = list(MAT_METAL = 100) build_path = /obj/item/canvas/twentythreeXtwentythree category = list("initial", "Miscellaneous") +*/ /datum/design/logic_board name = "Logic Circuit"