Skip to content

Commit

Permalink
fix small errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxann committed Jan 28, 2025
1 parent 9e59aae commit c558efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/features/self/TpToCamp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace YimMenu::Features

virtual void OnCall() override
{
if (!PlayerList.CanAccess())
if (!PlayerList.CanAccess(true))
return;

for (int i = 0; i < 32; i++)
Expand All @@ -23,7 +23,7 @@ namespace YimMenu::Features
{
auto Camp = ScriptGlobal(1141332).At(i, 27).At(20);

if (!Camp.CanAccess())
if (!Camp.CanAccess(true))
return;

Vector3 CampCoords = *Camp.As<Vector3*>();
Expand Down

0 comments on commit c558efa

Please sign in to comment.