Skip to content

Commit

Permalink
Disabled console on release
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMEHDI committed Apr 3, 2020
1 parent 1abfae9 commit 60aa2e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion TeamProject/GlobalWarmingGame/Game1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ protected override void Update(GameTime gameTime)
MainMenuUIController.GameTime += gameTime.ElapsedGameTime;
autoSaveTimer += gameTime.ElapsedGameTime;

System.Console.WriteLine(autoSaveTimer.TotalMinutes);
//System.Console.WriteLine(autoSaveTimer.TotalMinutes);

if (autoSaveTimer.TotalMinutes >= 5)
{
Expand Down
8 changes: 4 additions & 4 deletions TeamProject/GlobalWarmingGame/GameObjectManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static void SaveZone()
}
else
{
Console.WriteLine("Saving to " + ZoneFilePath());
//Console.WriteLine("Saving to " + ZoneFilePath());
Serializer.Serialize(ZoneFilePath(), gameObjects);
}
}
Expand Down Expand Up @@ -166,9 +166,9 @@ private static void SetZone(Vector2 position, IEnumerable<Colonist> colonists =
{
try
{
IDictionary<Type, IEnumerable<object>> objs = Serializer.Deserialize(ZoneFilePath());
IDictionary<Type, IEnumerable<object>> objs = Serializer.Deserialize(ZoneFilePath());

Console.WriteLine("Loading from " + ZoneFilePath());
//Console.WriteLine("Loading from " + ZoneFilePath());

foreach (IEnumerable<object> objList in objs.Values)
foreach (GameObject gameObject in objList)
Expand All @@ -177,7 +177,7 @@ private static void SetZone(Vector2 position, IEnumerable<Colonist> colonists =

catch (FileNotFoundException)
{
Console.WriteLine("Creating " + ZoneFilePath());
//Console.WriteLine("Creating " + ZoneFilePath());

ZoneGenerator.SpawnGameObjects(seed, zonePos);

Expand Down
2 changes: 1 addition & 1 deletion TeamProject/GlobalWarmingGame/GlobalWarmingGame.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{D2255AB6-74C7-4BAD-AE65-1A9026996D23}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>GlobalWarmingGame</RootNamespace>
<AssemblyName>GlobalWarmingGame</AssemblyName>
Expand Down

0 comments on commit 60aa2e7

Please sign in to comment.