Skip to content

Commit

Permalink
Texts will now also be shown in darkness/blind if there was other thi…
Browse files Browse the repository at this point in the history
…ngs happening before (like in original)
  • Loading branch information
Pyrdacor committed Nov 18, 2022
1 parent 1b7409e commit 1b4f22e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Ambermoon.Core/EventExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ public static Event ExecuteEvent(this Event @event, Map map, Game game,
aborted = true;
return null;
}
}

if (!popupTextEvent.TriggerIfBlind && !game.CanSee())
{
aborted = true;
return null;
}
if (!popupTextEvent.TriggerIfBlind && !game.CanSee())
{
aborted = true;
return null;
}
}

bool eventStatus = lastEventStatus;
EventProvider provider = null;
Expand Down

0 comments on commit 1b4f22e

Please sign in to comment.