just some init fixes (#16839)

This commit is contained in:
Kashargul
2025-01-05 11:51:45 +01:00
committed by GitHub
parent ee8fe38a8a
commit e6a5af065c
13 changed files with 22 additions and 24 deletions
+2 -6
View File
@@ -43,9 +43,8 @@
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
@@ -59,9 +58,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
@@ -18,8 +18,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