Import 2 chairs, fix grass color and fog opacity, fix a bug for save data propagation
This commit is contained in:
@@ -111,7 +111,7 @@ void AEleriGameState::PropagateSaveData(UEleriSaveGame* InSaveData) {
|
||||
//Promote actor data
|
||||
for (FActorIterator It(GetWorld()); It; ++It) {
|
||||
AActor* Actor = *It;
|
||||
if (!Actor->IsValidLowLevel() || Actor->IsPendingKillPending() || !Cast<ISaveableObjectInterface>(Actor) || !!Cast<IActorPersistentIdInterface>(Actor)) {
|
||||
if (!Actor->IsValidLowLevel() || Actor->IsPendingKillPending() || !Cast<ISaveableObjectInterface>(Actor) || !Cast<IActorPersistentIdInterface>(Actor)) {
|
||||
continue;
|
||||
}
|
||||
if (auto ActorSaveData = SaveData.ActorSaveData.Find(Cast<IActorPersistentIdInterface>(Actor)->GetPersistentId())) {
|
||||
|
||||
Reference in New Issue
Block a user