From 51f06c41421d1397ce803aee9435d6fc034f27bb Mon Sep 17 00:00:00 2001 From: zumorica Date: Thu, 14 May 2020 18:58:45 +0200 Subject: [PATCH] Math -> MathF --- .../GameObjects/Components/Mobs/StunnableComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/GameObjects/Components/Mobs/StunnableComponent.cs b/Content.Server/GameObjects/Components/Mobs/StunnableComponent.cs index 5ca35b0a6e..3ec94fa9b7 100644 --- a/Content.Server/GameObjects/Components/Mobs/StunnableComponent.cs +++ b/Content.Server/GameObjects/Components/Mobs/StunnableComponent.cs @@ -91,7 +91,7 @@ namespace Content.Server.GameObjects.Components.Mobs /// How many seconds the mob will stay stunned public void Stun(float seconds) { - seconds = Math.Min(_stunnedTimer + (seconds * StunTimeModifier), _stunCap); + seconds = MathF.Min(_stunnedTimer + (seconds * StunTimeModifier), _stunCap); if (seconds <= 0f) return;