26 lines
567 B
C#
26 lines
567 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
using HarmonyLib;
|
|
using RobocraftX;
|
|
|
|
using GamecraftModdingAPI.Utility;
|
|
|
|
namespace GamecraftModdingAPI.Events
|
|
{
|
|
/// <summary>
|
|
/// Patch of RobocraftX.FullGameCompositionRoot.ReloadGame()
|
|
/// </summary>
|
|
[Obsolete]
|
|
[HarmonyPatch(typeof(FullGameCompositionRoot), "ReloadGame")]
|
|
class GameReloadedPatch
|
|
{
|
|
public static void Postfix()
|
|
{
|
|
GameActivatedComposePatch.IsGameReloading = true;
|
|
}
|
|
}
|
|
}
|