Skip to content

Fix gadget method errors in atmosphere configs - #4653

Merged
WatchTheFort merged 1 commit into
beyond-all-reason:masterfrom
rhys-vdw:rhys-vdw/suppress-duplicate-method-errors-in-map-gadgets
Mar 31, 2025
Merged

Fix gadget method errors in atmosphere configs#4653
WatchTheFort merged 1 commit into
beyond-all-reason:masterfrom
rhys-vdw:rhys-vdw/suppress-duplicate-method-errors-in-map-gadgets

Conversation

@rhys-vdw

@rhys-vdw rhys-vdw commented Mar 31, 2025

Copy link
Copy Markdown
Contributor

Work done

Suppress more duplicate-set-field complaints from LLS using the same method established in #4608.

This s a strict find+replace for function gadget:GameFrame in ./luarules/configs/Atmosphereconfigs, removing one instance of the warning per file.

These were not addressed in the first pass because I did a find and replace against GetInfo which these gagets do not use.

Test steps

n/a - only IDE facing changes.

@WatchTheFort
WatchTheFort merged commit 0eb0ee3 into beyond-all-reason:master Mar 31, 2025
mr-maxo-PDG pushed a commit to mr-maxo-PDG/Beyond-All-Reason that referenced this pull request Jul 15, 2025
Suppress more `duplicate-set-field` complaints from LLS using the same method established in beyond-all-reason#4608.

This s a strict find+replace for `function gadget:GameFrame` in `./luarules/configs/Atmosphereconfigs`, removing one instance of the warning per file.

These were not addressed in the first pass because I did a find and replace against `GetInfo` which these gagets do not use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants