Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wesnoth.set_village_owner ignoring the fire_event parameter
Looks like this was lost in the refactor that introduced the luaW_checklocation helper function. If the location is specified as two separate parameters for x and y, this helper function actually pops the y parameter from the stack so that further parameter tests can act as if the location was a single parameter. Thus, the fire_event parameter, which used to be 4th on the stack, is now moved down to 3rd.
- Loading branch information