Small changes + updated references to EFT 12.12.16432
This commit is contained in:
parent
3e7986f62b
commit
85dca37953
2
.gitignore
vendored
2
.gitignore
vendored
@ -476,3 +476,5 @@ dkms.conf
|
||||
*.out
|
||||
*.app
|
||||
|
||||
/project/SamSWAT.TimeWeatherChanger/Key.snk
|
||||
/project/Shared/Keys
|
||||
|
@ -1,5 +1,4 @@
|
||||
using UnityEngine;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
namespace SamSWAT.TimeWeatherChanger
|
||||
{
|
||||
|
@ -40,9 +40,6 @@
|
||||
<Reference Include="Assembly-CSharp">
|
||||
<HintPath>..\Shared\References\Assembly-CSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Assembly-CSharp-firstpass">
|
||||
<HintPath>..\Shared\References\Assembly-CSharp-firstpass.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Comfort">
|
||||
<HintPath>..\Shared\References\Comfort.dll</HintPath>
|
||||
</Reference>
|
||||
|
@ -1,21 +1,20 @@
|
||||
using UnityEngine;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using EFT;
|
||||
using EFT.UI;
|
||||
using EFT.Weather;
|
||||
using System;
|
||||
using Comfort.Common;
|
||||
using RegexCMD = GClass2219;
|
||||
using GameDateTime = GClass1204;
|
||||
using Notifier = GClass1624;
|
||||
using NotifierParams = GClass1623;
|
||||
using CursorSettings = GClass2222;
|
||||
using RegexCMD = GClass2296;
|
||||
using GameDateTime = GClass1258;
|
||||
using Notifier = GClass1691;
|
||||
using NotifierParams = GClass1690;
|
||||
using CursorSettings = GClass2299;
|
||||
using Random = UnityEngine.Random;
|
||||
|
||||
namespace SamSWAT.TimeWeatherChanger
|
||||
{
|
||||
public class TimeWeatherController : MonoBehaviour
|
||||
{
|
||||
private static GameObject weather;
|
||||
private static GameObject input;
|
||||
private static WeatherController weatherController;
|
||||
private static GameWorld gameWorld;
|
||||
@ -44,6 +43,7 @@ namespace SamSWAT.TimeWeatherChanger
|
||||
void Start()
|
||||
{
|
||||
Debug.LogError("SamSWAT - Time and Weather Changer loaded");
|
||||
|
||||
//Duplicate functionality of home key
|
||||
ConsoleScreen.Commands.AddCommand(new RegexCMD("twc", match =>
|
||||
{
|
||||
@ -152,11 +152,11 @@ namespace SamSWAT.TimeWeatherChanger
|
||||
weatherdebugtex = "ON";
|
||||
else
|
||||
weatherdebugtex = "OFF";
|
||||
|
||||
//Caching WeatherController script for the first time
|
||||
if (weather == null | weatherController == null)
|
||||
if (weatherController == null)
|
||||
{
|
||||
weather = GameObject.Find("Weather");
|
||||
weatherController = weather.GetComponent<WeatherController>();
|
||||
weatherController = GameObject.Find("Weather").GetComponent<WeatherController>();
|
||||
}
|
||||
|
||||
//Shit ton of different sliders and buttons
|
||||
|
Loading…
x
Reference in New Issue
Block a user