mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 11:28:26 +00:00
hopefully fix persistent data & checkpoint errors
This commit is contained in:
parent
11137e9407
commit
40429c6afe
@ -1357,10 +1357,12 @@ int FindPersistentData(int client, persistent_data_t aData)
|
|||||||
|
|
||||||
for(int i = 0; i < gA_PersistentData.Length; i++)
|
for(int i = 0; i < gA_PersistentData.Length; i++)
|
||||||
{
|
{
|
||||||
gA_PersistentData.GetArray(i, aData);
|
persistent_data_t temp;
|
||||||
|
gA_PersistentData.GetArray(i, temp);
|
||||||
|
|
||||||
if(iSteamID == aData.iSteamID)
|
if(iSteamID == temp.iSteamID)
|
||||||
{
|
{
|
||||||
|
aData = temp;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user