]> git.deb.at Git - rhonda/impostor.git/commitdiff
Unused code
authorAeonLucid <aeonlucid@gmail.com>
Fri, 25 Sep 2020 20:03:04 +0000 (22:03 +0200)
committerAeonLucid <aeonlucid@gmail.com>
Fri, 25 Sep 2020 20:03:04 +0000 (22:03 +0200)
src/Impostor.Server/Net/State/Game.Incoming.cs

index 1e7155f467dfe0273652412463e4fdbd762b0ff1..7c5f2b5c45d077102755e5224208ade88397803f 100644 (file)
@@ -158,11 +158,6 @@ namespace Impostor.Server.Net.State
                 HostId = sender.Client.Id;
             }
 
-            if (HostId == sender.Client.Id)
-            {
-                sender.LimboState = LimboStates.NotLimbo;
-            }
-
             using (var message = MessageWriter.Get(SendOption.Reliable))
             {
                 WriteJoinedGameMessage(message, false, sender);
@@ -210,9 +205,6 @@ namespace Impostor.Server.Net.State
             
             // Assign player to this game for future packets.
             sender.Game = this;
-            
-            // Limbo, yes.
-            sender.LimboState = LimboStates.WaitingForHost;
 
             using (var packet = MessageWriter.Get(SendOption.Reliable))
             {