mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-19 15:51:58 +00:00
some fixes & improvements
This commit is contained in:
1 parent
56d510116d
commit
47f7eb0c2b
15 files changed
+113
-87
No files matched your search
@@ -162,7 +162,7 @@ internal static class HotPotato
|
||||
if (HotPotatoState.TimeLeft <= 0)
|
||||
{
|
||||
holder.Suicide();
|
||||
RecordDeath(HotPotatoState.HolderID, (HotPotatoState.RoundNum - 1) * GetKillInterval());
|
||||
RecordDeath(HotPotatoState.HolderID, Options.IntegrateNaturalDisasters.GetBool() ? (int)(Utils.TimeStamp - IntroCutsceneDestroyPatch.IntroDestroyTS - NaturalDisasters.FixedUpdatePatch.WaitTime) : (HotPotatoState.RoundNum - 1) * GetKillInterval());
|
||||
PassHotPotato();
|
||||
|
||||
if (holder.AmOwner)
|
||||
|
||||
@@ -870,6 +870,8 @@ public static class RoomRush
|
||||
case MapNames.Airship:
|
||||
time += previous switch
|
||||
{
|
||||
SystemTypes.MeetingRoom => 5,
|
||||
SystemTypes.Electrical => 4,
|
||||
SystemTypes.Engine => 3,
|
||||
SystemTypes.MainHall => 2,
|
||||
_ => 0
|
||||
|
||||
Reference in new issue
Block a user