Skip to content

Commit

Permalink
Mark CEDServer as Running a little bit earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczy93 committed Nov 26, 2023
1 parent 6e9391e commit f527c75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CentrED/CentrED.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
<ProjectReference Include="..\external\ImGui.NET\src\ImGui.NET\ImGui.NET.csproj"/>
</ItemGroup>


<!-- Put me into correspoding os dirs -->
<ItemGroup>
<Content Include="..\external\ImGui.NET\deps\cimgui\win-x64\cimgui.dll" CopyToOutputDirectory="PreserveNewest"/>
<Content Include="..\external\ImGui.NET\deps\cimgui\linux-x64\cimgui.so" CopyToOutputDirectory="PreserveNewest"/>
Expand Down
2 changes: 1 addition & 1 deletion Server/CEDServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ public void Run()
{
if (!_valid)
return;
new Task(Listen).Start();
Running = true;
new Task(Listen).Start();
try
{
do
Expand Down

0 comments on commit f527c75

Please sign in to comment.