mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
13 lines
386 B
C#
13 lines
386 B
C#
using HarmonyLib;
|
|
|
|
namespace EHR;
|
|
|
|
// From: https://github.com/yukieiji/ExtremeRoles/blob/master/ExtremeRoles/Patches/AirshipStatusPatch.cs
|
|
[HarmonyPatch(typeof(AirshipStatus), nameof(AirshipStatus.PrespawnStep))]
|
|
public static class AirshipStatusPrespawnStepPatch
|
|
{
|
|
public static bool Prefix()
|
|
{
|
|
return !PlayerControl.LocalPlayer.Is(CustomRoles.GM);
|
|
}
|
|
} |