remove ShowNotification from FactReveal

This commit is contained in:
JohnCorby 2021-12-26 00:58:03 -08:00
parent 8abddb4e8c
commit 43e56d30cd
3 changed files with 4 additions and 6 deletions

View File

@ -4,6 +4,5 @@
{
public string Id;
public bool SaveGame;
public bool ShowNotification;
}
}

View File

@ -41,7 +41,7 @@ namespace QSB.LogSync.Messages
{
if (QSBCore.IsHost)
{
QSBWorldSync.AddFactReveal(FactId, SaveGame, ShowNotification);
QSBWorldSync.AddFactReveal(FactId, SaveGame);
}
}
@ -49,7 +49,7 @@ namespace QSB.LogSync.Messages
{
if (QSBCore.IsHost)
{
QSBWorldSync.AddFactReveal(FactId, SaveGame, ShowNotification);
QSBWorldSync.AddFactReveal(FactId, SaveGame);
}
if (!WorldObjectManager.AllObjectsReady)

View File

@ -144,7 +144,7 @@ namespace QSB.WorldSync
DialogueConditions[name] = state;
}
public static void AddFactReveal(string id, bool saveGame, bool showNotification)
public static void AddFactReveal(string id, bool saveGame)
{
if (!QSBCore.IsHost)
{
@ -160,8 +160,7 @@ namespace QSB.WorldSync
ShipLogFacts.Add(new FactReveal
{
Id = id,
SaveGame = saveGame,
ShowNotification = showNotification
SaveGame = saveGame
});
}
}