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
|
@ -98,12 +98,14 @@ namespace Rimworld_Animations {
|
|||
public override void PreOpen() {
|
||||
base.PreOpen();
|
||||
if(AnimationSettings.offsets == null) {
|
||||
Log.Message("New offsets");
|
||||
if (AnimationSettings.debugMode)
|
||||
Log.Message("New offsets");
|
||||
AnimationSettings.offsets = new Dictionary<string, Vector2>();
|
||||
}
|
||||
|
||||
if(AnimationSettings.rotation == null) {
|
||||
Log.Message("New rotation");
|
||||
if (AnimationSettings.debugMode)
|
||||
Log.Message("New rotation");
|
||||
AnimationSettings.rotation = new Dictionary<string, float>();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue