diff options
author | 九軒 <1687701+HKunogi@users.noreply.github.com> | 2024-09-30 09:11:39 -0300 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-10-02 14:08:53 +0200 |
commit | 607585e22bd6dc1af9e5c3f66f34b7fb9250b07c (patch) | |
tree | 85385234adf04bb60f39f69341cf9bbaaa1d6ba6 /methods.py | |
parent | f4af8201bac157b9d47e336203d3e8a8ef729de2 (diff) | |
download | redot-engine-607585e22bd6dc1af9e5c3f66f34b7fb9250b07c.tar.gz |
SCons: Fix MSVC version check for VS Preview
Diffstat (limited to 'methods.py')
-rw-r--r-- | methods.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py index 04541c72ad..9e881773c9 100644 --- a/methods.py +++ b/methods.py @@ -828,7 +828,7 @@ def get_compiler_version(env): sem_ver = split[1].split(".") ret["major"] = int(sem_ver[0]) ret["minor"] = int(sem_ver[1]) - ret["patch"] = int(sem_ver[2]) + ret["patch"] = int(sem_ver[2].split()[0]) # Could potentially add section for determining preview version, but # that can wait until metadata is actually used for something. if split[0] == "catalog_buildVersion": |