Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cH1yoi committed Dec 29, 2024
1 parent 89b17ad commit 3dbb4e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Binary file modified addons/sourcemod/plugins/hana/exp_limiter.smx
Binary file not shown.
11 changes: 6 additions & 5 deletions addons/sourcemod/scripting/exp_limiter.sp
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,14 @@ bool IsWarmBot(int client)
return StrEqual(steamid, WARMBOT_STEAMID);
}

public int SteamWorks_OnValidateClient(int ownerauthid, int authid)
public void SteamWorks_OnValidateClient(int ownerauthid, int authid)
{
int client = GetClientOfAuthId(authid);
if (client == -1) return 0;
if(ownerauthid != authid) isFamilyShared[client] = true;
else isFamilyShared[client] = false;
return 0;
if (client == -1) return;
if(ownerauthid != authid)
isFamilyShared[client] = true;
else
isFamilyShared[client] = false;
}

public void OnClientDisconnect(int client){
Expand Down

0 comments on commit 3dbb4e3

Please sign in to comment.