Remove an unnecessary null check from ModelWidget

This commit is contained in:
abcdefg30
2023-10-12 17:53:52 +02:00
committed by Gustas
parent f5450cdf50
commit 6b151e6be5

View File

@@ -190,9 +190,6 @@ namespace OpenRA.Mods.Cnc.Widgets
if (cameraAngle != cachedCameraAngle)
cachedCameraAngle = cameraAngle;
if (cachedVoxel == null)
return;
var animation = new ModelAnimation(
cachedVoxel,
() => WVec.Zero,