Skip to content

Commit

Permalink
Handle RequestStart on server
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Dec 17, 2024
1 parent 47d2683 commit 92beadb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Fika.Core/Networking/FikaServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,11 @@ private void OnInformationPacketReceived(InformationPacket packet, NetPeer peer)
HostLoaded = RaidInitialized
};

if (gameExists && packet.RequestStart)
{
coopHandler.LocalGameInstance.RaidStarted = true;
}

if (hostReady)
{
respondPackage.GameTime = gameStartTime.Value;
Expand Down

0 comments on commit 92beadb

Please sign in to comment.