A stable modding interface between Techblox and mods https://mod.exmods.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
567B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using HarmonyLib;
  7. using RobocraftX;
  8. using GamecraftModdingAPI.Utility;
  9. namespace GamecraftModdingAPI.Events
  10. {
  11. /// <summary>
  12. /// Patch of RobocraftX.FullGameCompositionRoot.ReloadGame()
  13. /// </summary>
  14. [Obsolete]
  15. [HarmonyPatch(typeof(FullGameCompositionRoot), "ReloadGame")]
  16. class GameReloadedPatch
  17. {
  18. public static void Postfix()
  19. {
  20. GameActivatedComposePatch.IsGameReloading = true;
  21. }
  22. }
  23. }