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 {
|
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>
|
||||||
|
Loading…
Reference in New Issue
Block a user