Page 1 of 1

[0.16.51] Toggling minimap_enabled from lua misbehaves

Posted: Sat Feb 09, 2019 6:07 pm
by quyxkh
Try this:

Code: Select all

/c game.player.minimap_enabled = not game.player.minimap_enabled
It will seem to have no effect . . . until you bounce into the main map (I have that on the backquote "`" key, maybe that matters).

This causes trouble for the mod to toggle the minimap display I was trying to implement, to help with the logistics-readout-truncation problem -- the hotkey seems to have no effect.

Re: [0.16.51] Toggling minimap_enabled from lua misbehaves

Posted: Sat Feb 09, 2019 7:54 pm
by Rseding91
Thanks for the report. This is fixed for 0.17. I don't remember when but we noticed it internally a while ago and fixed it.