mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
debug mode to stop spamming log
This commit is contained in:
parent
c872e33a65
commit
6ab4a43498
6 changed files with 50 additions and 29 deletions
|
@ -15,7 +15,8 @@ namespace Rimworld_Animations {
|
|||
class HarmonyPatch_PlayAnimJoinInBedRMB {
|
||||
public static void Prefix(ref Job job) {
|
||||
if(job.def == xxx.casual_sex) {
|
||||
Log.Message("Replacing vanilla RJW JoinInBed JobDriver for animation JobDriver");
|
||||
if (AnimationSettings.debugMode || RJWSettings.DevMode)
|
||||
Log.Message("Replacing vanilla RJW JoinInBed JobDriver for animation JobDriver");
|
||||
job = new Job(DefDatabase<JobDef>.GetNamed("JoinInBedAnimation", true), job.targetA, job.targetB, job.targetC);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue