Don't Starve Together

Don't Starve Together

Extended Map Icons (FIXED)
Menampilkan1-2 dari 2 kiriman
Pembaruan: 21 Sep @ 10:15am

This update focuses on performance and correctness improvements for map icons.

- Minimap textures are now cached per entity, avoiding redundant SetIcon calls when the icon hasn’t changed.
- Prefab registration runs through a shared deduplicated table, so overlapping categories don’t add multiple AddPrefabPostInit callbacks.
- Mod configuration reads are memoized, removing repeated GetModConfigData lookups.
- The mapiconhandler component keeps the cached icon state in sync with helper entities and clears it on removal to prevent stale references.

Pembaruan: 21 Sep @ 7:33am

- Reworked `mapiconhandler` to parent helper entities to their owners instead of teleporting them every frame, eliminating the post-691071 flicker and removing the biggest source of map lag.
- Respects existing `MiniMapEntity` components when the base game already provides icons to avoid duplicates and cache conflicts.
- Automatically disables icons while objects are in limbo (picked up, carried, or hidden) and reenables them on drop for accurate tracking.
- Keeps minimap caching disabled for custom icons to prevent stale positions after recent engine changes.