mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Merge pull request #12246 from Heroman3003/warning-fix
Fixes compile warning on main branch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user