mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-14 03:02:22 +01:00
i hate u max
This commit is contained in:
@@ -247,6 +247,13 @@ void AFortGameModeAthena::OverrideSupplyDrop(AFortGameStateAthena* GameState, UC
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
auto& SupplyDropInfoList = MapInfo->Get<TArray<UFortSupplyDropInfo*>>(SupplyDropInfoListOffset);
|
auto& SupplyDropInfoList = MapInfo->Get<TArray<UFortSupplyDropInfo*>>(SupplyDropInfoListOffset);
|
||||||
|
|
||||||
|
if (SupplyDropInfoList.Num() == 0)
|
||||||
|
{
|
||||||
|
LOG_WARN(LogGame, "No SupplyDropInfoList!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
auto FirstSupplyDropInfo = SupplyDropInfoList.at(0);
|
auto FirstSupplyDropInfo = SupplyDropInfoList.at(0);
|
||||||
|
|
||||||
if (!FirstSupplyDropInfo)
|
if (!FirstSupplyDropInfo)
|
||||||
|
|||||||
Reference in New Issue
Block a user