]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix error when the client gets an Eui state message before its open message (#23610)
authorDrSmugleaf <DrSmugleaf@users.noreply.github.com>
Sun, 14 Jan 2024 09:18:45 +0000 (01:18 -0800)
committerGitHub <noreply@github.com>
Sun, 14 Jan 2024 09:18:45 +0000 (20:18 +1100)
* Fix error when the client gets an Eui state message before its open message

* Revert "Fix error when the client gets an Eui state message before its open message"

This reverts commit 440e2746ee8d77306f59ddea558eda32ec927f18.

* Make all Eui msgs reliable ordered

Content.Shared/Eui/MsgEuiCtl.cs
Content.Shared/Eui/MsgEuiMessage.cs
Content.Shared/Eui/MsgEuiState.cs

index 43bd6827316a52b8767c83903db0b72d5add2e18..d1bac580cdf4cad525074669f44e794089850683 100644 (file)
@@ -10,6 +10,7 @@ namespace Content.Shared.Eui
     public sealed class MsgEuiCtl : NetMessage
     {
         public override MsgGroups MsgGroup => MsgGroups.Command;
+        public override NetDeliveryMethod DeliveryMethod => NetDeliveryMethod.ReliableOrdered;
 
         public CtlType Type;
         public string OpenType = string.Empty;
index 3b6fbcad2c5c0db86a1aa4fc4f59bbfacb5c18bc..0bfedb8e9ca6a08a5b5f20cd840fc88654a68399 100644 (file)
@@ -8,6 +8,7 @@ namespace Content.Shared.Eui
     public sealed class MsgEuiMessage : NetMessage
     {
         public override MsgGroups MsgGroup => MsgGroups.Command;
+        public override NetDeliveryMethod DeliveryMethod => NetDeliveryMethod.ReliableOrdered;
 
         public uint Id;
         public EuiMessageBase Message = default!;
index 3ac80ad3eaa57b0ea29788f20d85b55a89831f9c..c918ac43984b2946d4c3de9815f1b262e8e4fb42 100644 (file)
@@ -8,6 +8,7 @@ namespace Content.Shared.Eui
     public sealed class MsgEuiState : NetMessage
     {
         public override MsgGroups MsgGroup => MsgGroups.Command;
+        public override NetDeliveryMethod DeliveryMethod => NetDeliveryMethod.ReliableOrdered;
 
         public uint Id;
         public EuiStateBase State = default!;