mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
[MIRROR] cleans up INIT (#10164)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
a71b34b7e0
commit
e4f07e43f3
@@ -51,7 +51,7 @@ var/global/list/image/splatter_cache=list()
|
||||
qdel(B)
|
||||
|
||||
//VOREstation edit - Moved timer call to Init, and made it not call on mapload
|
||||
/obj/effect/decal/cleanable/blood/Initialize(var/mapload, var/_age)
|
||||
/obj/effect/decal/cleanable/blood/Initialize(mapload, var/_age)
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
addtimer(CALLBACK(src, PROC_REF(dry)), DRYING_TIME * (amount+1))
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
icon_state = "dirt"
|
||||
mouse_opacity = 0
|
||||
|
||||
/obj/effect/decal/cleanable/dirt/Initialize(var/mapload, var/_age, var/dirt)
|
||||
/obj/effect/decal/cleanable/dirt/Initialize(mapload, var/_age, var/dirt)
|
||||
.=..()
|
||||
var/turf/simulated/our_turf = src.loc
|
||||
if(our_turf && istype(our_turf) && our_turf.can_dirty)
|
||||
|
||||
Reference in New Issue
Block a user