Skip to content

Commit 3520de5

Browse files
committed
fix:修复当_bufferCredit足够时没有显式设置__result的值
1 parent 44b237b commit 3520de5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AquaMai.Mods/GameSystem/VirtualCoin.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ public static bool PayGameCostPatch(CreditUnit __instance, ref bool __result, in
274274
MelonLogger.Msg($"#1:_buffer:{_bufferCredit}");
275275
# endif
276276

277+
__result = true;
277278
return false;
278279
}
279280

0 commit comments

Comments
 (0)