fix teleport message. (#5824)

Fix #5816 issue . 04455c0 commit forget second owner and unit.side in formula.
This commit is contained in:
newfrenchy83 2021-05-31 19:45:28 +02:00 committed by GitHub
parent bb31ef1944
commit 128869d897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]