mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
[MIRROR] removes InitializeAIController(), moves it to Initialize [MDB IGNORE] (#15565)
removes InitializeAIController(), moves it to Initialize Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
co-authored by
John Willard
Tom
parent
f852394c13
commit
14db408d0b
+2
-11
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user