Browse Source

Merge pull request #199 from shangfengh/new

fix: 🐛 fix the conflict of EnumType
tags/0.1.0
Shawqeem GitHub 2 years ago
parent
commit
890e41c8a9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      logic/Server/GameServer.cs
  2. +4
    -0
      logic/Server/Server.csproj

+ 1
- 1
logic/Server/GameServer.cs View File

@@ -211,7 +211,7 @@ namespace Server
{ {
MessageOfAll msg = new MessageOfAll(); MessageOfAll msg = new MessageOfAll();
//msg.GameTime //msg.GameTime
msg.SubjectLeft = GameData.numOfGeneratorRequiredForRepair - (int)game.GameMap.NumOfRepairedGenerators;
msg.SubjectFinished = (int)game.GameMap.NumOfRepairedGenerators;
//msg.StudentGraduated //msg.StudentGraduated
//msg.StudentQuited //msg.StudentQuited
msg.StudentScore = 0; msg.StudentScore = 0;


+ 4
- 0
logic/Server/Server.csproj View File

@@ -7,6 +7,10 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>


<ItemGroup>
<Compile Remove="Properties\EnumType.cs" />
</ItemGroup>

<ItemGroup> <ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" /> <PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="FrameRateTask" Version="1.2.0" /> <PackageReference Include="FrameRateTask" Version="1.2.0" />


Loading…
Cancel
Save