边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
MP Can Sleep Fix
   
奖励
收藏
已收藏
取消收藏
Mod, 1.5, 1.6
文件大小
发表于
更新日期
115.062 KB
2 月 26 日 下午 7:28
7 月 16 日 下午 10:52
4 项改动说明 ( 查看 )

订阅以下载
MP Can Sleep Fix

描述
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).