mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
[MIRROR] Initialize fixing (#10335)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2e725a0727
commit
ce2446922e
@@ -161,7 +161,7 @@ var/list/dispenser_presets = list()
|
||||
to_chat(user, span_warning("Your moral standards prevent you from emagging this machine!"))
|
||||
return -1 // Letting people emag this one would be bad times
|
||||
|
||||
/obj/machinery/gear_dispenser/Initialize()
|
||||
/obj/machinery/gear_dispenser/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!gear_distributed_to["[type]"] && (dispenser_flags & GD_NOGREED))
|
||||
gear_distributed_to["[type]"] = list()
|
||||
@@ -391,7 +391,7 @@ var/list/dispenser_presets = list()
|
||||
/obj/machinery/gear_dispenser/custom
|
||||
name = "personal gear dispenser"
|
||||
|
||||
/obj/machinery/gear_dispenser/custom/Initialize()
|
||||
/obj/machinery/gear_dispenser/custom/Initialize(mapload)
|
||||
dispenses = subtypesof(/datum/gear_disp/custom)
|
||||
. = ..()
|
||||
|
||||
@@ -874,7 +874,7 @@ var/list/dispenser_presets = list()
|
||||
)
|
||||
var/chance_to_delete = 0
|
||||
|
||||
/obj/machinery/gear_dispenser/adventure_box/Initialize()
|
||||
/obj/machinery/gear_dispenser/adventure_box/Initialize(mapload)
|
||||
. = ..()
|
||||
if(prob(chance_to_delete))
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
Reference in New Issue
Block a user