ID:2446497
 
Resolved
When world.icon_size was not 32, maptext_width and maptext_height could be wrong for some objects on the map. This has been corrected at the compiler level, so worlds with this issue can be recompiled to fix it.
BYOND Version:512
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 73.0.3683.86
Applies to:Dream Maker
Status: Resolved (512.1467)

This issue has been resolved.
Descriptive Problem Summary: During runtime, maptext_width and maptext_height seem to set themselves to 32 on their own.

Numbered Steps to Reproduce Problem:
1. Launch a game
2. maptext_height and maptext_width of turfs and areas will instantly be set to 32 even if the world.icon_size is something else.

Expected Results: maptext_width and maptext_height will remain at the default unless specified to change somewhere within the code.

Actual Results: maptext_width and maptext_height changes on its own to 32x32. This poses an issue for utilities like DMM_Suite, which will only create new instances during saving if a variable has been changed- meaning the maps are full of extra instances that have no reason to exist.

Does the problem occur: Always.

Workarounds: Manually forcing maptext_width and maptext_height to their default values before saving maps, flagging dmm_suite to ignore maptext_width and maptext_height (haven't tried yet)

Demo: https://cdn.discordapp.com/attachments/451526235433074688/ 562151720168456202/MaptextBug_src.zip
Lummox JR resolved issue with message:
When world.icon_size was not 32, maptext_width and maptext_height could be wrong for some objects on the map. This has been corrected at the compiler level, so worlds with this issue can be recompiled to fix it.