tech unlock fix

This commit is contained in:
2025-04-28 21:35:41 +08:00
parent f407928579
commit 167f53e2df
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ public static class TechPatch
}
var techProto = __instance.techProto;
if (techProto == null) return false;
Functions.TechFunctions.UnlockProtoWithMetadataAndPrompt([techProto], true);
Functions.TechFunctions.UnlockProtoWithMetadataAndPrompt([techProto], -1, true);
return false;
}
}