mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
Merge pull request #12062 from Verkister/patch-107
Fixes runtime spam caused by altclicking tiles
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user