mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
9d1603aeb8
commit
9884b40b05
2 files changed
+2
-2
No files matched your search
@@ -1267,7 +1267,7 @@ internal static class ExtendedPlayerControl
|
||||
|
||||
public static bool CanUseKillButton(this PlayerControl pc)
|
||||
{
|
||||
if (AntiBlackout.SkipTasks || TimeMaster.Rewinding || !pc.IsAlive()) return false;
|
||||
if (AntiBlackout.SkipTasks || TimeMaster.Rewinding || !Main.IntroDestroyed || !pc.IsAlive()) return false;
|
||||
|
||||
switch (Options.CurrentGameMode)
|
||||
{
|
||||
|
||||
@@ -273,7 +273,7 @@ internal static class RpcSetTasksPatch
|
||||
|
||||
PlayerTask GetTaskFromTaskType(TaskTypes type) => allTasks.FirstOrDefault(t => t.TaskType == type);
|
||||
}
|
||||
catch (Exception e) { Utils.ThrowException(e); }
|
||||
catch { }
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user