[s] Fixes AI core duplication bug / runtime (#68736)

Fixes AI core duplication runtime
This commit is contained in:
ShizCalev
2022-07-30 17:34:03 -04:00
committed by GitHub
parent 4115693572
commit 1ca363b6ab
+1 -1
View File
@@ -424,7 +424,7 @@ That prevents a few funky behaviors.
to_chat(user, "[span_boldnotice("Transfer successful")]: [AI.name] ([rand(1000,9999)].exe) installed and executed successfully. Local copy has been removed.")
card.AI = null
AI.battery = circuit.battery
if(core_mmi.braintype == "Android")
if(core_mmi && core_mmi.braintype == "Android")
AI.posibrain_inside = TRUE
else
AI.posibrain_inside = FALSE