added null message

This commit is contained in:
Sem van der Hoeven
2020-09-18 12:37:02 +02:00
parent 0e2ee807e1
commit e54cca454b

View File

@@ -95,8 +95,8 @@ namespace RH_Engine
//string command = createGraphics.TerrainCommand(new int[] { 256, 256 }, heigths); //string command = createGraphics.TerrainCommand(new int[] { 256, 256 }, heigths);
string groundId = GetId("GroundPlane", stream, createGraphics); string groundId = GetId(CreateGraphics.STANDARD_SUN, stream, createGraphics);
Console.WriteLine("ground id: " + groundId); Console.WriteLine("id: " + groundId);
string command = createGraphics.DeleteGroundPaneCommand(groundId); string command = createGraphics.DeleteGroundPaneCommand(groundId);
//string command = createGraphics.ResetScene(); //string command = createGraphics.ResetScene();
Console.WriteLine("tunnelID is: " + tunnelID); Console.WriteLine("tunnelID is: " + tunnelID);
@@ -119,7 +119,7 @@ namespace RH_Engine
return child.uuid; return child.uuid;
} }
} }
Console.WriteLine("Could not find id of " + name);
return null; return null;
} }