Cleanup we dont need two gameobjects.

This commit is contained in:
hondacrx
2017-07-08 23:29:40 -04:00
parent bdc66501d8
commit 0a9590ca78
+1 -5
View File
@@ -955,10 +955,8 @@ namespace Game.AI
public class SmartGameObjectAI : GameObjectAI public class SmartGameObjectAI : GameObjectAI
{ {
public SmartGameObjectAI(GameObject g) public SmartGameObjectAI(GameObject g) : base(g)
: base(g)
{ {
go = g;
mScript = new SmartScript(); mScript = new SmartScript();
} }
@@ -1047,8 +1045,6 @@ namespace Game.AI
public SmartScript GetScript() { return mScript; } public SmartScript GetScript() { return mScript; }
new GameObject go;
SmartScript mScript; SmartScript mScript;
} }