Upload from upload_mods.ps1
This commit is contained in:
28
Score/Fire/Harmony/FireInit.cs
Normal file
28
Score/Fire/Harmony/FireInit.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using HarmonyLib;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Features.Fire.Harmony
|
||||
{
|
||||
// Allows the spread of the particles to catch things on fire.
|
||||
/*[HarmonyPatch(typeof(GameStateManager))]
|
||||
[HarmonyPatch("StartGame")]
|
||||
public class GameStateManagerStartGame
|
||||
{
|
||||
public static void Postfix()
|
||||
{
|
||||
if (GamePrefs.GetString(EnumGamePrefs.GameWorld) == "Empty"
|
||||
|| GamePrefs.GetString(EnumGamePrefs.GameWorld) == "Playtesting"
|
||||
|| GamePrefs.GetString(EnumGamePrefs.GameMode) == "GameModeEditWorld")
|
||||
{
|
||||
Debug.Log("Disabling Fire Manager in Play Testing / Prefab editor");
|
||||
return;
|
||||
}
|
||||
FireManager.Init();
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Reference in New Issue
Block a user