mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-15 08:13:05 +00:00
add 5 second player immunity to prevent spawn kills
This commit is contained in:
@@ -36,6 +36,9 @@ export class DefaultConfig implements Config {
|
||||
private _serverConfig: ServerConfig,
|
||||
private _gameConfig: GameConfig
|
||||
) {}
|
||||
spawnImmunityDuration(): Tick {
|
||||
return 5 * 10;
|
||||
}
|
||||
|
||||
gameConfig(): GameConfig {
|
||||
return this._gameConfig;
|
||||
|
||||
Reference in New Issue
Block a user