Skip to main content
summarise what the code says for the non-programmers reading
Source Link
SevenSidedDie
  • 33.3k
  • 17
  • 105
  • 170

So, I was curious, and I've peek into the decompiled code.
It was found that there is no difference between this two messages. It just picks one at random to show:

Game1.showGlobalMessage(Game1.content.LoadString(random.NextDouble() < 0.5 ? "Strings\\Locations:Mines_Infested" : "Strings\\Locations:Mines_Overrun"));

So, I was curious, and I've peek into the decompiled code.
It was found that there is no difference between this two messages:

Game1.showGlobalMessage(Game1.content.LoadString(random.NextDouble() < 0.5 ? "Strings\\Locations:Mines_Infested" : "Strings\\Locations:Mines_Overrun"));

So, I was curious, and I've peek into the decompiled code.
It was found that there is no difference between this two messages. It just picks one at random to show:

Game1.showGlobalMessage(Game1.content.LoadString(random.NextDouble() < 0.5 ? "Strings\\Locations:Mines_Infested" : "Strings\\Locations:Mines_Overrun"));
Source Link
Exerion
  • 2.4k
  • 2
  • 16
  • 28

So, I was curious, and I've peek into the decompiled code.
It was found that there is no difference between this two messages:

Game1.showGlobalMessage(Game1.content.LoadString(random.NextDouble() < 0.5 ? "Strings\\Locations:Mines_Infested" : "Strings\\Locations:Mines_Overrun"));