Skip to content

Commit b9a4303

Browse files
committed
..
1 parent 6c64f4b commit b9a4303

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GeonBit.UI/GeonBit.UI/Entities/Entity.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ public Vector2 EntityDefaultSize
356356
type = type.BaseType;
357357
}
358358

359-
// should never get here, but return size 0
360-
return Vector2.Zero;
359+
// should never get here
360+
throw new System.Exception("Internal error in getting default size.");
361361
}
362362
}
363363

0 commit comments

Comments
 (0)