From 128869d897155442802e044be06f506ea5d7ca1b Mon Sep 17 00:00:00 2001 From: newfrenchy83 <31768074+newfrenchy83@users.noreply.github.com> Date: Mon, 31 May 2021 19:45:28 +0200 Subject: [PATCH] fix teleport message. (#5824) Fix #5816 issue . 04455c0 commit forget second owner and unit.side in formula. --- data/core/macros/abilities.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/macros/abilities.cfg b/data/core/macros/abilities.cfg index 7ab005810ae..6ddd1054464 100644 --- a/data/core/macros/abilities.cfg +++ b/data/core/macros/abilities.cfg @@ -232,7 +232,7 @@ Any units adjacent to this unit will fight as if it were dusk when it is night, [target] terrain=*^V* - formula="owner = teleport_unit.side and not unit_at(loc)" + formula="owner_side = teleport_unit.side_number and not unit_at(loc)" [/target] [filter]