New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace deprecated placement=map_overwrite #6532
Conversation
There's a setting in advanced preferences, "show deprecation messages in-game". If it hasn't been set by the user, then it currently defaults to "no" in 1.16, "yes" in canonical 1.17.0 and 1.17.1, but "no" for 1.17.x+dev (debate about that might start up in #5084, and I've been wondering about it in #6512). |
Funnily enough I was just re-reading #5084 when you wrote that. What's 'canonical 1.17.0 and 1.17.1', though? I wasn't aware we had any releases for 1.17 yet. And I don't recall setting any deprecation message preferences so that doesn't really explain how I saw the messages in 1.17.0+dev... |
Update: |
Interesting, I might have misunderstood what turns on and off the deprecation messages' default. I thought it was Lines 170 to 176 in 02cdde9
|
Well, I've enabled it now so if I run into more deprecated code in the bundled campaigns, etc, I can do something about it. |
I think deprecation notifications are only being shown in 1.17 but not 1.16. I noticed the
map_overwrite
deprecation message when testing the former.I checked the change in SotA S17, no apparent regressions. I don't see any other instances of
map_overwrite
.Info: https://wiki.wesnoth.org/SingleUnitWML#placement