Merge pull request #12246 from Heroman3003/warning-fix

Fixes compile warning on main branch
This commit is contained in:
Casey
2022-02-26 04:11:54 -05:00
committed by GitHub
+3 -3
View File
@@ -130,7 +130,7 @@
/turf/simulated/wall/attackby(var/obj/item/weapon/W, var/mob/user)
user.setClickCooldown(user.get_attack_speed(W))
if(!construction_stage && user.a_intent == I_HELP)
if(try_graffiti(user,W))
return
@@ -240,7 +240,7 @@
return
// Basic dismantling.
var/dismantle_toolspeed = 0
//var/dismantle_toolspeed = 0
if(isnull(construction_stage) || !reinf_material)
var/cut_delay = 60 - material.cut_delay
@@ -260,7 +260,7 @@
else if(istype(W,/obj/item/weapon/melee/energy/blade))
dismantle_sound = "sparks"
dismantle_verb = "slicing"
dismantle_toolspeed = 1
//dismantle_toolspeed = 1
cut_delay *= 0.5
else if(istype(W,/obj/item/weapon/pickaxe))
var/obj/item/weapon/pickaxe/P = W