From 97d91cc6b174cd85c3eaac89b1556ff8ab1e2247 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Thu, 28 Sep 2023 14:38:19 +0100 Subject: [PATCH] Fix non-source builds --- inc/uproject.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/uproject.ps1 b/inc/uproject.ps1 index d7ca8a7..ca21113 100644 --- a/inc/uproject.ps1 +++ b/inc/uproject.ps1 @@ -66,6 +66,8 @@ function Get-UE-Version { $buildverfile = Join-Path $srcdir "Engine/Build/Build.version" $buildjson = (Get-Content $buildverfile) | ConvertFrom-Json return "$($buildjson.MajorVersion).$($buildjson.MinorVersion)" + } else { + return $assoc } }