mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 04:06:23 +00:00

This is the real cause of the breakage in 5a9c24c4e79d624e34aa475949a4aa49b1984322 and d04bd2bf5d2ad932ca9bb3203f4ff9f91411e261. A returned location now has both x/y and 1/2, so the location_set logic removed the x/y but kept the 1/2, causing it to break when converted to a config. This makes it use rawget when the value is a table, which fixes it.