Project Zomboid

Project Zomboid

Multiple Generators Fixed
正在显示第 1 - 3 项,共 3 项条目
更新于:9 月 3 日 上午 10:14

更新于:9 月 3 日 上午 9:58

更新于:9 月 3 日 上午 9:53

Fixes & improvements in this fork

- Fixed Lua syntax errors and “__sub not defined” crashes caused by constructor mismatches.

- Fixed window reuse issues (opening info on multiple generators now works reliably).

- Guarded against nil textures, missing tables, and divide-by-zero in fuel remaining.

- Removed hard dependency on tsarslib (now no external dependencies).
- If you use tsarslib, it will still work—--just not required.

- Context menu integration without duplicate actions.

- Safer MP sync path and targeted server updates near the changed device/generator.

- Performance: 10-minute server tick now uses round-robin slicing to spread work across ticks on large bases.