raspberry_games_server_game_logic 1.8.396 → 1.8.397
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +4 -3
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
388
388
|
//endregion
|
|
389
389
|
function GameEngineConfig() {
|
|
390
|
-
this.version = '1.8.
|
|
390
|
+
this.version = '1.8.397';
|
|
391
391
|
}
|
|
392
392
|
protoOf(GameEngineConfig).a3w = function () {
|
|
393
393
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -50276,8 +50276,9 @@
|
|
|
50276
50276
|
while (_iterator__ex2g4s.m()) {
|
|
50277
50277
|
var element = _iterator__ex2g4s.n();
|
|
50278
50278
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
50279
|
-
var this_0 = element.
|
|
50280
|
-
|
|
50279
|
+
var this_0 = element.newRating - element.oldRating;
|
|
50280
|
+
var ratingMultiplier = Math.abs(this_0) / element.oldRating;
|
|
50281
|
+
if (ratingMultiplier > 0.15) {
|
|
50281
50282
|
destination.j(element);
|
|
50282
50283
|
}
|
|
50283
50284
|
}
|
|
@@ -50309,7 +50310,7 @@
|
|
|
50309
50310
|
var ratingChangeAboveLimit = tmp3_elvis_lhs == null ? emptyList() : tmp3_elvis_lhs;
|
|
50310
50311
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
50311
50312
|
if (!ratingChangeAboveLimit.r()) {
|
|
50312
|
-
logger.w('roundLifecycleMiddleware', 'Rating change above limit: ' + toString(
|
|
50313
|
+
logger.w('roundLifecycleMiddleware', 'Rating change above limit: ' + toString(ratingChangeAboveLimit));
|
|
50313
50314
|
}
|
|
50314
50315
|
}
|
|
50315
50316
|
function roundLifecycleMiddleware$$inlined$middlewareForActionType$1($scenePositionProvider, $logger) {
|