diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 2ea5fd79166..fbf9483829b 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -272,7 +272,8 @@ // The integrity to max_integrity ratio is still preserved. set_custom_materials(custom_materials) - InitializeAIController() + if(ispath(ai_controller)) + ai_controller = new ai_controller(src) return INITIALIZE_HINT_NORMAL @@ -1955,16 +1956,6 @@ return list() return ..() -/** -* Instantiates the AI controller of this atom. Override this if you want to assign variables first. -* -* This will work fine without manually passing arguments. - -+*/ -/atom/proc/InitializeAIController() - if(ispath(ai_controller)) - ai_controller = new ai_controller(src) - /atom/MouseEntered(location, control, params) SSmouse_entered.hovers[usr.client] = src