mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
add butterfly event, add dropping to 1.11 and below,
This commit is contained in:
@@ -128,6 +128,8 @@ void AFortPlayerControllerAthena::ServerReadyToStartMatchHook(AFortPlayerControl
|
||||
{
|
||||
auto& QuickBars = PlayerController->Get<AActor*>(QuickBarsOffset);
|
||||
|
||||
LOG_INFO(LogDev, "QuickBarsOld: {}", __int64(QuickBars));
|
||||
|
||||
if (QuickBars)
|
||||
return ServerReadyToStartMatchOriginal(PlayerController);
|
||||
|
||||
@@ -135,6 +137,8 @@ void AFortPlayerControllerAthena::ServerReadyToStartMatchHook(AFortPlayerControl
|
||||
|
||||
QuickBars = GetWorld()->SpawnActor<AActor>(FortQuickBarsClass);
|
||||
|
||||
LOG_INFO(LogDev, "QuickBarsNew: {}", __int64(QuickBars));
|
||||
|
||||
if (!QuickBars)
|
||||
return ServerReadyToStartMatchOriginal(PlayerController);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user