This commit is contained in:
Lachlan Leone committed 2024-01-27 03:50:35 +11:00
1 parent 2d6abcd684
commit 4dd11a9f73
11 files changed
+265 -27

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ namespace Pets.Systems.Activities
if (!Require(foodEntity, out CPosition cFoodPosition)) continue;
Vector3 targetPos = Vector3.zero;
if (!CanGetTo(data.PetPosition, cFoodPosition, new Vector3(1 + offset, 0, 0), out targetPos))
if (!CanGetTo(data.PetPosition, cFoodPosition, new Vector3(-1 - offset, 0, 0), out targetPos))
if (!CanGetTo(data.PetPosition, cFoodPosition, new Vector3(0, 0, 1 + offset), out targetPos))