From 541682d0553d69fa69c0582edbe11bea224318a9 Mon Sep 17 00:00:00 2001 From: Project-Z1K <149071205+Project-Z1K@users.noreply.github.com> Date: Wed, 6 Dec 2023 23:00:15 +0100 Subject: [PATCH] full fix snow map 7.3 15.10 11.31 --- Project Reboot 3.0/GameModeBase.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Project Reboot 3.0/GameModeBase.cpp b/Project Reboot 3.0/GameModeBase.cpp index 8c2c8a4..0647e06 100644 --- a/Project Reboot 3.0/GameModeBase.cpp +++ b/Project Reboot 3.0/GameModeBase.cpp @@ -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; -} \ No newline at end of file +}