Upload from upload_mods.ps1
This commit is contained in:
18
Dayuppy/Harmony/Harmony_BuildIIntervalPatch.cs
Normal file
18
Dayuppy/Harmony/Harmony_BuildIIntervalPatch.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal class Dayuppy_BuildIntervalPatches
|
||||
{
|
||||
[HarmonyPatch]
|
||||
public class GameManagercreateWorldBuildInterval
|
||||
{
|
||||
private static IEnumerable<MethodInfo> TargetMethods()
|
||||
{
|
||||
yield return AccessTools.EnumeratorMoveNext(AccessTools.Method(typeof(GameManager), "createWorld"));
|
||||
}
|
||||
|
||||
public static void Postfix(GameManager __instance)
|
||||
{
|
||||
Constants.cBuildIntervall = 0.5f; //Default setting. PrefabEditor is 0.2f.
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user