mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-04 07:56:14 +00:00
Merge branch 'v26'
This commit is contained in:
@@ -173,9 +173,8 @@ export abstract class DefaultServerConfig implements ServerConfig {
|
||||
turnIntervalMs(): number {
|
||||
return 100;
|
||||
}
|
||||
|
||||
gameCreationRate(): number {
|
||||
return 30 * 1000;
|
||||
return 60 * 1000;
|
||||
}
|
||||
|
||||
lobbyMaxPlayers(
|
||||
@@ -693,7 +692,7 @@ export class DefaultConfig implements Config {
|
||||
|
||||
if (attacker.isPlayer() && defender.isPlayer()) {
|
||||
if (defender.isDisconnected() && attacker.isOnSameTeam(defender)) {
|
||||
// No troop loss if defender is disconnected and on same team
|
||||
// No troop loss if defender is disconnected.
|
||||
mag = 0;
|
||||
}
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user