Merge pull request #12062 from Verkister/patch-107

Fixes runtime spam caused by altclicking tiles
This commit is contained in:
Novacat
2022-01-12 10:59:24 -05:00
committed by GitHub
+2 -2
View File
@@ -310,7 +310,7 @@
/turf/proc/try_graffiti(var/mob/vandal, var/obj/item/tool)
if(!tool.sharp || !can_engrave())
if(!tool || !tool.sharp || !can_engrave())
return FALSE
if(jobban_isbanned(vandal, "Graffiti"))
@@ -407,4 +407,4 @@
return
// We were the the B-side in a turf translation
/turf/proc/post_translate_B(var/turf/A)
return
return