Skip to content

Commit

Permalink
Fix small error with moving between rounds
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirKhil committed Apr 14, 2024
1 parent e366052 commit c14eb40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Common/SI.GameServer.Client/SI.GameServer.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<Version>7.6.0</Version>
<Company>Khil-soft</Company>
<Copyright>Copyright © Khil-soft 2021 - 2023</Copyright>
<Copyright>Copyright © Khil-soft 2021 - 2024</Copyright>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="6.0.3" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="6.0.3" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/SICore/SICore/Clients/Game/GameLogic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -750,10 +750,10 @@ private void FinishRound(bool move = true)
_data.Decision = DecisionType.None;

_data.IsRoundEnding = true;
ClearContinuation();

if (move)
{
ClearContinuation();
ScheduleExecution(Tasks.MoveNext, 40);
}
else
Expand Down

0 comments on commit c14eb40

Please sign in to comment.