mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
save main tab on/off
This commit is contained in:
parent
1c1b94e8f7
commit
b0b06eb208
4 changed files with 35 additions and 1 deletions
24
Source/MainTabWindows/WorldComponent_UpdateMainTab.cs
Normal file
24
Source/MainTabWindows/WorldComponent_UpdateMainTab.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using RimWorld;
|
||||
using RimWorld.Planet;
|
||||
using Verse;
|
||||
|
||||
namespace Rimworld_Animations {
|
||||
public class WorldComponent_UpdateMainTab : WorldComponent {
|
||||
|
||||
public WorldComponent_UpdateMainTab(World world) : base(world) {
|
||||
|
||||
}
|
||||
|
||||
public override void FinalizeInit() {
|
||||
base.FinalizeInit();
|
||||
OffsetMainButtonDefOf.OffsetManager.buttonVisible = AnimationSettings.offsetTab;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue