From 932955db044ca4944e849d6bcdbe3b79159f62b4 Mon Sep 17 00:00:00 2001 From: zaryanz Date: Tue, 28 May 2024 10:34:50 +0530 Subject: [PATCH] fix: added faceHex method in fnOnConfirm to fix Uncle Fungus turning forward for a split second --- src/abilities/Uncle-Fungus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abilities/Uncle-Fungus.ts b/src/abilities/Uncle-Fungus.ts index c4e79228e..f0edf991b 100755 --- a/src/abilities/Uncle-Fungus.ts +++ b/src/abilities/Uncle-Fungus.ts @@ -218,13 +218,13 @@ export default (G: Game) => { }, fnOnConfirm: (...args) => { const chosenHex = args[0]; - if (chosenHex.x == this.creature.x && chosenHex.y == this.creature.y) { // Prevent null movement this.query(); return; } this.animation(...args); + chosenHex.game.activeCreature.faceHex(chosenHex); G.grid.fadeOutTempCreature(); }, size: uncle.size,