@toyota12345 After buying a car, script is raising an error
Here is my shv.net log:
[15:52:55] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at CarGarage.CarGarage.SpawnEnemy()
at CarGarage.CarGarage.Purchase()
at CarGarage.CarGarage.onMainMenuItemSelect(UIMenu sender, UIMenuItem item, Int32 index)
at NativeUI.UIMenu.SelectItem()
at NativeUI.UIMenu.ProcessControl(Keys key)
at NativeUI.MenuPool.ProcessControl()
at NativeUI.MenuPool.ProcessMenus()
at CarGarage.CarGarage.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[15:52:55] [ERROR] The exception was thrown while executing the script CarGarage.CarGarage.
[15:52:55] [WARNING] Aborted script CarGarage.CarGarage.
@toyota12345 After buying a car, script is raising an error
Here is my shv.net log:
[15:52:55] [ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at CarGarage.CarGarage.SpawnEnemy()
at CarGarage.CarGarage.Purchase()
at CarGarage.CarGarage.onMainMenuItemSelect(UIMenu sender, UIMenuItem item, Int32 index)
at NativeUI.UIMenu.SelectItem()
at NativeUI.UIMenu.ProcessControl(Keys key)
at NativeUI.MenuPool.ProcessControl()
at NativeUI.MenuPool.ProcessMenus()
at CarGarage.CarGarage.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[15:52:55] [ERROR] The exception was thrown while executing the script CarGarage.CarGarage.
[15:52:55] [WARNING] Aborted script CarGarage.CarGarage.
Note: All the requirements are up-to-date