First, thanks for the quick update! Much appreciated.
Factorio 2.1.7, tested with and without SA. No other mods and default mod settings.
Steps to reproduce: Start a new game, open Resource Monitor, go to "Other" tab, click "OK" below "Add new site". Click "Select or modify the area of this site" and select a coal field → crash.
37.870 Error MainLoop.cpp:1475: Exception at tick 1210: The mod Resource Monitor (1.7.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event dqol-resource-monitor::on_player_selected_area (ID 58)
__dqol-resource-monitor__/components/ui/ui.lua:87: attempt to call field 'get_mod' (a nil value)
stack traceback:
__dqol-resource-monitor__/components/ui/ui.lua:87: in function 'route_event'
__dqol-resource-monitor__/components/ui/ui.lua:136: in function <__dqol-resource-monitor__/components/ui/ui.lua:128>
40.760 Info AppManager.cpp:363: Deleting active scenario.