From 0a9590ca78786a4cce23605393e4e8a7a91463d7 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sat, 8 Jul 2017 23:29:40 -0400 Subject: [PATCH] Cleanup we dont need two gameobjects. --- Game/AI/SmartScripts/SmartAI.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Game/AI/SmartScripts/SmartAI.cs b/Game/AI/SmartScripts/SmartAI.cs index 48b5ee263..7b943b405 100644 --- a/Game/AI/SmartScripts/SmartAI.cs +++ b/Game/AI/SmartScripts/SmartAI.cs @@ -955,10 +955,8 @@ namespace Game.AI public class SmartGameObjectAI : GameObjectAI { - public SmartGameObjectAI(GameObject g) - : base(g) + public SmartGameObjectAI(GameObject g) : base(g) { - go = g; mScript = new SmartScript(); } @@ -1047,8 +1045,6 @@ namespace Game.AI public SmartScript GetScript() { return mScript; } - - new GameObject go; SmartScript mScript; }