Fix NPC reallocation bug, update settings_config.dsc

This commit is contained in:
Rares Bozga
2025-12-24 01:42:24 +02:00
parent c8d959506f
commit 8292fdb229
2 changed files with 137 additions and 53 deletions

View File

@@ -217,7 +217,8 @@ storyboard_npc_internal_auto_memory_management:
after player joins:
- define npcs <player.flag[storyboard_state].get[npcs].if_null[<map[]>]>
- foreach <[npcs]> key:name as:data:
- if <[data].get[allocated].if_null[null]> == reallocate:
- define allocated <[data].get[allocated].if_null[null]>
- if <[allocated]> == reallocate || <[allocated]>:
- define name <[data].get[name]>
- define type <[data].get[type]>
- define at <[data].get[at]>