mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fix some versions
fixed s18 (I think), did something to teams, reverted harvesting thing because it was buggy
This commit is contained in:
@@ -8,7 +8,7 @@ struct FUniqueNetIdRepl // : public FUniqueNetIdWrapper
|
||||
{
|
||||
static UStruct* GetStruct()
|
||||
{
|
||||
static auto Struct = FindObject<UStruct>("/Script/Engine.UniqueNetIdRepl");
|
||||
static auto Struct = FindObject<UStruct>(L"/Script/Engine.UniqueNetIdRepl");
|
||||
return Struct;
|
||||
}
|
||||
|
||||
@@ -30,17 +30,21 @@ struct FUniqueNetIdRepl // : public FUniqueNetIdWrapper
|
||||
|
||||
bool bTest = true;
|
||||
|
||||
if (this->GetReplicationBytes().Num() > this->GetReplicationBytes().Num()) // != ?
|
||||
bTest = false;
|
||||
|
||||
for (int i = 0; i < this->GetReplicationBytes().Num(); i++)
|
||||
if (this->GetReplicationBytes().Num() >= OtherUniqueId->GetReplicationBytes().Num())
|
||||
{
|
||||
if (this->GetReplicationBytes().at(i) != OtherUniqueId->GetReplicationBytes().at(i))
|
||||
for (int i = 0; i < this->GetReplicationBytes().Num(); i++)
|
||||
{
|
||||
bTest = false;
|
||||
break;
|
||||
if (this->GetReplicationBytes().at(i) != OtherUniqueId->GetReplicationBytes().at(i))
|
||||
{
|
||||
bTest = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
bTest = false;
|
||||
}
|
||||
|
||||
// LOG_INFO(LogDev, "btest: {}", bTest);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user