refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-09-06 03:07:01 +02:00
parent 534a1874b0
commit 1a40dd1d47
7 changed files with 99 additions and 98 deletions
+2 -2
View File
@@ -75,8 +75,8 @@ function set_unit_start_price(amount)
end
function get_unit_buyout_price()
local money_text = p/unit_buyout_price:GetText()
return p/aux.money.from_string(money_text) or 0
local money_text = unit_buyout_price:GetText()
return aux.money.from_string(money_text) or 0
end
function set_unit_buyout_price(amount)