Skip to content

Commit

Permalink
Fix guard settings bug
Browse files Browse the repository at this point in the history
There was a small bug where the dropdown for follow or stand in the guard settings always showed follow by default, no matter what the current order actually was.
  • Loading branch information
Lumidify Productions authored and Amaz1 committed Aug 4, 2016
1 parent 22bdcd3 commit 747f341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/lottmobs/functions.lua
Expand Up @@ -94,7 +94,7 @@ local get_guard_formspec = function(self)
if self.blacklist == nil then
self.blacklist = {}
end
if order == "stand" then selected_idx = 2 end
if self.order == "stand" then selected_idx = 2 end
return "size[10,9]"..
"label[1,1;Name:\t"..self.game_name.."]"..
"dropdown[1,2;2;order;follow,stand;"..selected_idx.."]"..
Expand Down

0 comments on commit 747f341

Please sign in to comment.