Skip to content

Commit

Permalink
Compiler fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Dec 10, 2021
1 parent 7d70c89 commit 97d8862
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ internal void GenerateNewGameDescriptor()
internal void CheckCampaignDescriptor()
{
// There is no guarantee that Load() will not yield a non null
if (_campaignDescriptor is null!)
if (_campaignDescriptor is null)
{
AddDescriptorToExistingCampaign();
}
Expand Down Expand Up @@ -147,7 +147,7 @@ private List<CampaignDescriptor> LoadExistingDescriptors()

internal void Sync()
{
if (_descriptorToBeAssigned is not null && _campaignDescriptor is not null! && _descriptorToBeAssigned == _campaignDescriptor)
if (_descriptorToBeAssigned is not null && _campaignDescriptor is not null && _descriptorToBeAssigned == _campaignDescriptor)
{
UpdateSavedDescriptors();
}
Expand Down

0 comments on commit 97d8862

Please sign in to comment.