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
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@

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