diff --git a/src/App/Extensions/InkSpawner/Extension.cpp b/src/App/Extensions/InkSpawner/Extension.cpp index 9e5b91f..4a961eb 100644 --- a/src/App/Extensions/InkSpawner/Extension.cpp +++ b/src/App/Extensions/InkSpawner/Extension.cpp @@ -20,7 +20,14 @@ bool App::InkSpawnerExtension::Load() { HookOnceAfter(+[]() { if (Red::GetType<"Codeware">()) - return; + { + bool isNewCodeware{false}; + Red::CString newCodewareVersion{"1.14.0"}; + Red::CallStatic("Codeware", "Require", isNewCodeware, newCodewareVersion); + + if (isNewCodeware) + return; + } Hook(&OnSpawnLocal).OrThrow(); Hook(&OnSpawnExternal).OrThrow();