Skip to content

Commit

Permalink
Updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DFIronman committed Dec 10, 2022
1 parent 76482f0 commit 255b5b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/Game/Entities/PlayerEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2351,6 +2351,8 @@ void SetCrimeCommitted(Crimes crime)
}

// Allows modders to easily detect if a crime has been committed
// This will raise when the player's crime is set to None!
// Make sure to account for that when necessary.
public delegate void OnCrimeUpdateHandler(Crimes crime);
public event OnCrimeUpdateHandler OnCrimeUpdate;
protected void RaiseOnCrimeUpdateEvent(Crimes crime)
Expand Down

0 comments on commit 255b5b5

Please sign in to comment.