factions for onfoot murders are right there
This commit is contained in:
@@ -19,4 +19,12 @@ public class CommitCrimeEntry : Entry {
|
||||
public bool IsMurder {
|
||||
get { return CrimeType?.CompareTo(CrimeTypes.Murder) == 0 || CrimeType?.CompareTo(CrimeTypes.OnFootMurder) == 0; }
|
||||
}
|
||||
|
||||
public bool IsCrime(string crimetype) {
|
||||
if (CrimeType == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return string.Compare(CrimeType, crimetype) == 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user