Skip to content

Commit

Permalink
generic_recruit_engine: remove unnecessary variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsc committed Sep 7, 2018
1 parent dcadab9 commit a781139
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions data/ai/lua/generic_recruit_engine.lua
Expand Up @@ -590,8 +590,6 @@ return {

function get_current_castle(leader, data)
if (not data.castle) or (data.castle.x ~= leader.x) or (data.castle.y ~= leader.y) then
data.castle = {}

data.castle = {
locs = AH.get_locations_no_borders {
{ "filter_vision", { side = wesnoth.current.side, visible = 'yes' } },
Expand Down

0 comments on commit a781139

Please sign in to comment.