items now faded out instead of removed after being bought, fixed an issue with owners missing from auctions

This commit is contained in:
Manuel Simon Hirsig
2015-10-15 20:12:16 +02:00
parent 73ea1935c3
commit 35ebf3cf3e
5 changed files with 37 additions and 9 deletions
+6 -3
View File
@@ -224,7 +224,8 @@ function AuxBuyEntry_OnClick(entry_index)
if express_mode then
if GetMoney() >= amount then
tremove(entries, entry_index)
-- tremove(entries, entry_index)
entry.dirty = true
refresh = true
end
@@ -234,7 +235,8 @@ function AuxBuyEntry_OnClick(entry_index)
else
Aux.buy.dialog_action = function()
if GetMoney() >= amount then
tremove(entries, entry_index)
-- tremove(entries, entry_index)
entry.dirty = true
refresh = true
end
@@ -253,7 +255,8 @@ function AuxBuyEntry_OnClick(entry_index)
end,
on_complete = function()
if not found then
tremove(entries, entry_index)
-- tremove(entries, entry_index)
entry.dirty = true
refresh = true
Aux.buy.dialog_cancel()
end