Files
Project-Reboot-3.0/Project Reboot 3.0/FortSafeZoneIndicator.cpp
Milxnor a16bb42c01 quite a good update
Fixed Devourer of Worlds Event, Fixed chapter 2+ editing bug, Fixed all other bugs with editing, Fixed S13+ lategame.
2023-04-21 13:34:13 -04:00

12 lines
401 B
C++

#include "FortSafeZoneIndicator.h"
#include "FortGameModeAthena.h"
#include "reboot.h"
void AFortSafeZoneIndicator::SkipShrinkSafeZone()
{
auto GameState = Cast<AFortGameStateAthena>(((AFortGameMode*)GetWorld()->GetGameMode())->GetGameState());
GetSafeZoneStartShrinkTime() = GameState->GetServerWorldTimeSeconds();
GetSafeZoneFinishShrinkTime() = GameState->GetServerWorldTimeSeconds() + 0.2;
}