I'm tired

This commit is contained in:
Braedon
2022-01-23 21:15:23 -05:00
parent 6ac919a232
commit dcc378ce84
101 changed files with 9627 additions and 17 deletions

View File

@ -343,7 +343,7 @@ namespace RhythmHeavenMania.Editor
else
{
eventObj.resizable = true;
if (gameAction.defaultLength != entity.length && dragNDrop == false)
if (entity != null && gameAction.defaultLength != entity.length && dragNDrop == false)
{
g.GetComponent<RectTransform>().sizeDelta = new Vector2(entity.length, LayerHeight());
}