diff --git a/data/scripts/actions/items/exercise_training_weapons.lua b/data/scripts/actions/items/exercise_training_weapons.lua index 4a72f19e5c8..fd62e07208f 100644 --- a/data/scripts/actions/items/exercise_training_weapons.lua +++ b/data/scripts/actions/items/exercise_training_weapons.lua @@ -111,7 +111,7 @@ local function exerciseTrainingEvent(playerId, tilePosition, weaponId, dummyId) tilePosition:sendMagicEffect(CONST_ME_HITAREA) if exerciseWeaponsTable[weaponId].effect then - playerPosition:sendDistanceEffect(tilePosition, exerciseWeaponsTable[weaponId].effect) + player:getPosition():sendDistanceEffect(tilePosition, exerciseWeaponsTable[weaponId].effect) end if weapon:getAttribute(ITEM_ATTRIBUTE_CHARGES) <= 0 then