Skip to content

Commit c010429

Browse files
fix: missed look in vbot 4.8
1 parent 90f30f6 commit c010429

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • mods/game_bot/default_configs/vBot_4.8/vBot

mods/game_bot/default_configs/vBot_4.8/vBot/extras.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ if true then
547547
local function checkPlayers()
548548
for i, spec in ipairs(getSpectators()) do
549549
if spec:isPlayer() and spec:getText() == "" and spec:getPosition().z == posz() and spec ~= player then
550-
g_game.look(spec)
550+
g_game.look(spec, true)
551551
found = now
552552
end
553553
end
@@ -568,7 +568,7 @@ if true then
568568
onCreatureAppear(function(creature)
569569
if not settings.checkPlayer then return end
570570
if creature:isPlayer() and creature:getText() == "" and creature:getPosition().z == posz() and creature ~= player then
571-
g_game.look(creature)
571+
g_game.look(creature, true)
572572
found = now
573573
end
574574
end)

0 commit comments

Comments
 (0)