diff --git a/O21.Game/Engine/GameEngine.fs b/O21.Game/Engine/GameEngine.fs index b33f25a..29fd3ca 100644 --- a/O21.Game/Engine/GameEngine.fs +++ b/O21.Game/Engine/GameEngine.fs @@ -87,7 +87,7 @@ type GameEngine = { { engine with Player = { engine.Player with Velocity = Vector.Zero - FreezeTime = GameRules.FreezeMovementTime + FreezeTime = GameRules.PostDeathFreezeTicks Lives = Math.Max(engine.Player.Lives - 1, 0) Oxygen = OxygenStorage.Default } }, [| PlaySound SoundType.LifeLost; PlayAnimation AnimationType.Die |] diff --git a/O21.Game/Engine/GameRules.fs b/O21.Game/Engine/GameRules.fs index 213494b..73d6435 100644 --- a/O21.Game/Engine/GameRules.fs +++ b/O21.Game/Engine/GameRules.fs @@ -35,7 +35,7 @@ let TicksPerSecond = 10.0 let MaxPlayerVelocity = 3 [] -let FreezeMovementTime = 6 +let PostDeathFreezeTicks = 6 let ClampVelocity(Vector(x, y)): Vector = Vector(