mirror of
https://github.com/hykilpikonna/AquaDX.git
synced 2026-09-09 18:05:44 -05:00
fix: rounding issue breaking encryption
This commit is contained in:
@@ -37,7 +37,7 @@ class CompressionFilter(
|
||||
}
|
||||
|
||||
fun truncateVersion(version: Number): Number {
|
||||
return floor(version.toFloat() / 5.0) * 5;
|
||||
return (floor(version.toFloat() / 5.0) * 5).toInt();
|
||||
}
|
||||
|
||||
var keys = gameData.chu3GameEncryption + gameData.mai2GameEncryption + gameData.ogkGameEncryption
|
||||
|
||||
Reference in New Issue
Block a user