mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
Convert most mobs to Initialize() (#2540)
I'm sure this won't break anything at all.
This commit is contained in:
@@ -45,8 +45,8 @@ var/list/cleanbot_types // Going to use this to generate a list of types once th
|
||||
if(istype(crossed,/mob/living/bot/cleanbot)) return 0
|
||||
return ..()
|
||||
|
||||
/mob/living/bot/cleanbot/New()
|
||||
..()
|
||||
/mob/living/bot/cleanbot/Initialize()
|
||||
. = ..()
|
||||
get_targets()
|
||||
|
||||
listener = new /obj/cleanbot_listener(src)
|
||||
@@ -54,8 +54,7 @@ var/list/cleanbot_types // Going to use this to generate a list of types once th
|
||||
|
||||
janitorial_supplies |= src
|
||||
|
||||
if(SSradio)
|
||||
SSradio.add_object(listener, beacon_freq, filter = RADIO_NAVBEACONS)
|
||||
SSradio.add_object(listener, beacon_freq, filter = RADIO_NAVBEACONS)
|
||||
|
||||
/mob/living/bot/cleanbot/Destroy()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user