mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
full fix snow map 7.3 15.10 11.31
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
#include "DataTableFunctionLibrary.h"
|
#include "DataTableFunctionLibrary.h"
|
||||||
#include "FortAthenaMutator_GG.h"
|
#include "FortAthenaMutator_GG.h"
|
||||||
#include "FortAthenaMutator_InventoryOverride.h"
|
#include "FortAthenaMutator_InventoryOverride.h"
|
||||||
|
#include "calendar.h
|
||||||
|
|
||||||
void AGameModeBase::RestartPlayerAtTransform(AController* NewPlayer, FTransform SpawnTransform)
|
void AGameModeBase::RestartPlayerAtTransform(AController* NewPlayer, FTransform SpawnTransform)
|
||||||
{
|
{
|
||||||
@@ -262,5 +263,14 @@ APawn* AGameModeBase::SpawnDefaultPawnForHook(AGameModeBase* GameMode, AControll
|
|||||||
|
|
||||||
// LOG_INFO(LogDev, "Finish SpawnDefaultPawnFor!");
|
// 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;
|
return NewPawn;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user