mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
just some init fixes (#16839)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user