From 534f9436eeea52da2cf92c97cc3ea84861808797 Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Fri, 18 Oct 2024 15:05:37 -0700 Subject: [PATCH] Set XP decay timer to be one shot --- Utils/PlayerStats.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Utils/PlayerStats.cs b/Utils/PlayerStats.cs index 5c46889..32038c7 100644 --- a/Utils/PlayerStats.cs +++ b/Utils/PlayerStats.cs @@ -40,6 +40,7 @@ public partial class PlayerStats : CharacterStats _xpDecayTimer = new Timer(); _xpDecayTimer.Timeout += () => _shouldDecayXP = true; + _xpDecayTimer.OneShot = true; _xpDecayTimer.Stop(); AddChild(_xpDecayTimer);