Fixed a bug in DriveInterface causing an exception

This commit is contained in:
Sofia 2017-05-13 23:21:29 +03:00
parent 9503c3f716
commit a43b53112d

View File

@ -1,4 +1,6 @@
 
using UnityEngine;
namespace Cyber.Items { namespace Cyber.Items {
/// <summary> /// <summary>
@ -55,7 +57,7 @@ namespace Cyber.Items {
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public int GetHeight() { public int GetHeight() {
return ItemGrid.GetLength(1); return ItemGrid.GetLength(0);
} }
/// <summary> /// <summary>