diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-12-27 02:01:51 +0100 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-12-27 02:01:51 +0100 |
commit | b7e485d74b4f263c7f1f519622ca8118b9ee16c2 (patch) | |
tree | 2744dd1a0170ba70d32d38bed560eb7c146d1df9 | |
parent | ab7f9185854e50aaf27153cf05ce48f53b379498 (diff) |
fix(Grav2ty.Protocol): emit correct id in messageUpdateClient
-rw-r--r-- | lib/Grav2ty/Protocol.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Grav2ty/Protocol.hs b/lib/Grav2ty/Protocol.hs index f6b737b..09272ce 100644 --- a/lib/Grav2ty/Protocol.hs +++ b/lib/Grav2ty/Protocol.hs @@ -151,7 +151,7 @@ messageUpdateClient _ (NewWorld t w) = [GC.SetTick t, GC.SetWorld w] messageUpdateClient current (NewObject t i o) = if t < current then [] - else GC.UpdateObject t o : clientTickUpdate current t + else GC.UpdateObject i o : clientTickUpdate current t messageUpdateClient current (UpdateMod t m mf) = if t < current then [] |