[MIRROR] just some init fixes (#9794)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-05 17:00:30 +01:00
committed by GitHub
co-authored by Kashargul
parent 6a62e578ab
commit 4d0df72be2
13 changed files with 22 additions and 24 deletions
+2 -6
View File
@@ -45,9 +45,8 @@
can_pain_emote = FALSE // CHOMPEdit: Sanity/safety, if bots ever get emotes later, undo this
allow_mind_transfer = TRUE
/mob/living/bot/New()
..()
//update_icons() //VOREstation edit: moved to Init
/mob/living/bot/Initialize()
. = ..()
//default_language = GLOB.all_languages[LANGUAGE_GALCOM] //VOREstation edit: moved to Init
@@ -61,9 +60,6 @@
if(!using_map.bot_patrolling)
will_patrol = FALSE
// Make sure mapped in units start turned on.
/mob/living/bot/Initialize()
. = ..()
if(on)
turn_on() // Update lights and other stuff
update_icons() //VOREstation edit - overlay runtime fix
+2 -2
View File
@@ -19,8 +19,8 @@
var/blood = 1
var/list/target_types = list()
/mob/living/bot/cleanbot/New()
..()
/mob/living/bot/cleanbot/Initialize()
. = ..()
get_targets()
/mob/living/bot/cleanbot/Destroy()
+2 -2
View File
@@ -23,8 +23,8 @@
var/obj/structure/reagent_dispensers/watertank/tank
/mob/living/bot/farmbot/New(var/newloc, var/newTank)
..(newloc)
/mob/living/bot/farmbot/Initialize(var/newloc, var/newTank)
. = ..(newloc)
if(!newTank)
newTank = new /obj/structure/reagent_dispensers/watertank(src)
tank = newTank
+2 -2
View File
@@ -36,8 +36,8 @@
var/global/amount = 0
/mob/living/bot/mulebot/New()
..()
/mob/living/bot/mulebot/Initialize()
. = ..()
var/turf/T = get_turf(loc)
var/obj/machinery/navbeacon/N = locate() in T