mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
Fixed: Pawns raping despite Rape-Abhorrent precept
This commit is contained in:
parent
472933e192
commit
71df71a0eb
2 changed files with 47 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
using Verse;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace RJWSexperience.Ideology.HistoryEvents
|
||||
{
|
||||
|
@ -27,6 +28,7 @@ namespace RJWSexperience.Ideology.HistoryEvents
|
|||
//Log.Message($"[RSI] Recorded event {historyEvent.def.ToStringWithPartner(pawn, partner)}");
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static HistoryEvent CreateEvent(this HistoryEventDef def, Pawn pawn)
|
||||
{
|
||||
return new HistoryEvent(def, pawn.Named(HistoryEventArgsNames.Doer));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue