From 93776d6663213fb526c2c4ae37ca5f61d31f9616 Mon Sep 17 00:00:00 2001 From: rumors matrix Date: Tue, 17 Mar 2020 13:07:32 +0000 Subject: [PATCH] fixes issue #6 where players cannot fight after death --- lib/Combat.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Combat.js b/lib/Combat.js index 9593fb1..cce8536 100644 --- a/lib/Combat.js +++ b/lib/Combat.js @@ -137,6 +137,8 @@ class Combat { if (deadEntity.isNpc) { state.MobManager.removeMob(deadEntity); + } else { + deadEntity.combatData = {}; } }