add 5 second player immunity to prevent spawn kills

This commit is contained in:
Evan
2025-02-08 19:34:16 -08:00
parent 2fa576c841
commit 4f4b6adb80
5 changed files with 37 additions and 56 deletions
+3
View File
@@ -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;