Fixed a bug in DriveInterface causing an exception
This commit is contained in:
parent
9503c3f716
commit
a43b53112d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user