From 1a6f1c0fcec9d73a8f6b339400d0cde242400673 Mon Sep 17 00:00:00 2001 From: Kaktus200020 Date: Sun, 18 Aug 2024 14:33:23 +0300 Subject: [PATCH] addToClient --- ZoFo/GameCore/Client.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ZoFo/GameCore/Client.cs b/ZoFo/GameCore/Client.cs index 665179e..af738dd 100644 --- a/ZoFo/GameCore/Client.cs +++ b/ZoFo/GameCore/Client.cs @@ -128,7 +128,14 @@ namespace ZoFo.GameCore gameObjects.Add(new Player((update as UpdateGameObjectCreated).position)); if ((update as UpdateGameObjectCreated).GameObjectType == "Ammo") gameObjects.Add(new Ammo((update as UpdateGameObjectCreated).position)); +<<<<<<< Updated upstream + if ((update as UpdateGameObjectCreated).GameObjectType == "Zombie") + gameObjects.Add(new Zombie((update as UpdateGameObjectCreated).position)); + +======= + +>>>>>>> Stashed changes (gameObjects.Last() as Entity).SetIdByClient((update as UpdateGameObjectCreated).IdEntity); //var a = Assembly.GetAssembly(typeof(GameObject)); //gameObjects.Add( TODO reflection