From 608268884d4d15dbbf398425ebd98b5a0a3c80ad Mon Sep 17 00:00:00 2001 From: ManlyMarco <39247311+ManlyMarco@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:15:56 +0100 Subject: [PATCH] Fix Autosave PC & SBPR build --- src/Autosave.Core/Autosave.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Autosave.Core/Autosave.cs b/src/Autosave.Core/Autosave.cs index dfeafe02..47c6aad2 100644 --- a/src/Autosave.Core/Autosave.cs +++ b/src/Autosave.Core/Autosave.cs @@ -19,6 +19,11 @@ using Studio; #endif +#if PC || SBPR +// Too old Unity version, fall back to WaitForSeconds since it doesn't cause any major issues in these games +using WaitForSecondsRealtime = UnityEngine.WaitForSeconds; +#endif + namespace KK_Plugins { ///