mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
Add typeof checks for all function calls to modules loaded with defer attribute. This prevents ReferenceError when loading old maps (1.108.11) in version 1.108.13. Functions protected: - getCurrentPreset() - from style.js - addCustomColorScheme() - from style.js - updateTextureSelectValue() - from style.js - focusOn() - from editors.js - invokeActiveZooming() - from zoom.js - fitMapToScreen() - from zoom.js - declareFont() - from fonts.js - moveBurgToGroup() - from burgs.js (3 locations) This fixes zoom/pan issues when loading old maps. |
||
|---|---|---|
| .. | ||
| cloud.js | ||
| export.js | ||
| load.js | ||
| obsidian-bridge.js | ||
| save.js | ||