full fix snow map 7.3 15.10 11.31

This commit is contained in:
Project-Z1K
2023-12-06 23:00:15 +01:00
committed by GitHub
parent c00486ae30
commit 541682d055

View File

@@ -8,6 +8,7 @@
#include "DataTableFunctionLibrary.h"
#include "FortAthenaMutator_GG.h"
#include "FortAthenaMutator_InventoryOverride.h"
#include "calendar.h
void AGameModeBase::RestartPlayerAtTransform(AController* NewPlayer, FTransform SpawnTransform)
{
@@ -262,5 +263,14 @@ APawn* AGameModeBase::SpawnDefaultPawnForHook(AGameModeBase* GameMode, AControll
// LOG_INFO(LogDev, "Finish SpawnDefaultPawnFor!");
static bool bFirst = Fortnite_Version == 11.31 || Fortnite_Version == 15.10;
if (bFirst)
{
bFirst = false;
// Calendar::EnableFog();
Calendar::SetSnow(100);
// Calendar::EnableFog();
}
return NewPawn;
}