time is now configurabe
This commit is contained in:
1 parent
e217ee89fe
commit
398b5abc1b
3 files changed
+50
-3
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ public class Behaviour : MonoBehaviour
|
||||
{
|
||||
DayCycleManager __instance = Singleton<DayCycleManager>.Instance;
|
||||
StoreLightManager __storelightmanager = Singleton<StoreLightManager>.Instance;
|
||||
if (__instance.CurrentHour == 6 && __instance.CurrentMinute == 0 && __instance.AM == false)
|
||||
if (__instance.CurrentHour == Plugin.Hour && __instance.CurrentMinute == Plugin.Minute && __instance.AM == Plugin.AM)
|
||||
{
|
||||
for (int i = 0; i < LightSwitches.Length; i++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user