RimWorld
Không đủ lượt đánh giá
MP Can Sleep Fix
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Mod, 1.5, 1.6
Kích cỡ file
Đã đăng
Đã cập nhật
115.062 KB
26 Thg02 @ 7:28pm
16 Thg07 @ 10:52pm
4 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
MP Can Sleep Fix

Mô tả
Fixes pawns sometimes not properly going to sleep when changing maps in async multiplayer.

Source Code[github.com]

---

Implementation-wise this mod just checks if a pawn's canSleepTick is more than 1,000 ticks above the game's current tick (Find.TickManager.TicksGame), which can only happen (in vanilla at least) when a pawn has changed maps while playing in an async multiplayer environment. It's a quick-and-dirty fix, and doesn't account for any mods that may offset that value by more than 1,000 (I don't know of any, but you never know).