samples/gui/OpenRider: Fixed deserialization still broken
[sdk] / samples / guiAndGfx / openrider / game.ec
index 63370dd..8280117 100644 (file)
@@ -54,12 +54,12 @@ class GameVehicle {
          }
          else
             this = GameVehicle { };
-
-         if(!type)
-            channel.Get(type);
-         channel.Get(location);
-         channel.Get(velocity);
       }
+
+      if(!type)
+         channel.Get(type);
+      channel.Get(location);
+      channel.Get(velocity);
    }
 
    virtual void Update(Game game);