Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxprod committed Mar 27, 2023
1 parent bd7bcd0 commit cf2cf3c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file added BepInEx/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions BepInEx/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "PlayerTracker",
"version_number": "1.0.0",
"version_number": "1.0.3",
"website_url": "https://github.com/xxxprod/UCH-PlayerTracker-Mod",
"description": "This Mod draws a line on each players path to visualize their movements.",
"dependencies": [
"BepInEx-BepInExPack-5.4.2100"
"BepInEx-BepInExPack-5.4.2100",
"xxxmodder-BepInEx_ConfigurationManager-18.0.0"
]
}
5 changes: 2 additions & 3 deletions Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private void FixedUpdate()

positions.Enqueue(pos);

if (positions.Count > _trackingLength.Value)
while (positions.Count > _trackingLength.Value)
positions.Dequeue();

renderer.positionCount = positions.Count;
Expand Down Expand Up @@ -128,8 +128,7 @@ private void FixedUpdate()
continue;
}

renderer.startColor = gamePlayer.PlayerColor;
//renderer.material.color = gamePlayer.PlayerColor;
renderer.startColor = gamePlayer.PlayerColor;
yield return (gamePlayer.CharacterInstance, positions, renderer);
}
}
Expand Down
Binary file added Screenshots/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf2cf3c

Please sign in to comment.