[MIRROR] Cleans up some Initializes (#943)
* Cleans up some Initializes * Update farm_animals.dm * Delete farm_animals.dm.rej * Update farm_animals.dm
This commit is contained in:
committed by
Poojawa
parent
620b756025
commit
c61bb0476f
@@ -797,7 +797,7 @@ Pass a positive integer as an argument to override a bot's default speed.
|
||||
var/mob/living/simple_animal/bot/owner = null
|
||||
|
||||
/obj/machinery/bot_core/Initialize()
|
||||
..()
|
||||
. = ..()
|
||||
owner = loc
|
||||
if(!istype(owner))
|
||||
qdel(src)
|
||||
@@ -919,4 +919,4 @@ Pass a positive integer as an argument to override a bot's default speed.
|
||||
if(!data_hud_type)
|
||||
return
|
||||
var/datum/atom_hud/datahud = GLOB.huds[data_hud_type]
|
||||
datahud.add_hud_to(src)
|
||||
datahud.add_hud_to(src)
|
||||
Reference in New Issue
Block a user