Skip to content

Commit 7f1f90b

Browse files
committed
Updated CombatFight.lua to fix PvP bug
Fixed Grinder throwing an exception and stopping when attacked by a player while grinder was running. Will now attack players when attacked by them.
1 parent 0559a47 commit 7f1f90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Grinder/States/CombatFight.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function CombatFightState:NeedToRun()
6363
end
6464

6565
self.CurrentCombatActor = value
66-
print("Want to Attack Player: "+tostring(value.Name)+" "+tostring(value.CanAttack)+" "+tostring(value.IsLineOfSight))--.." "..value.CanAttack)
66+
print("Want to Attack Player: "..tostring(value.Name).." "..tostring(value.CanAttack).." "..tostring(value.IsLineOfSight))--.." "..value.CanAttack)
6767
return true
6868
end
6969
end

0 commit comments

Comments
 (0)