mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-03 14:53:01 +02:00
Add check for 0 price and 0 player limit
This commit is contained in:
parent
dbbe8aa7ac
commit
160600dfd2
@ -273,7 +273,9 @@ local function redraw_market_items(data)
|
||||
local disabled = item.disabled == true
|
||||
local message
|
||||
|
||||
if total_price == 0 then
|
||||
if total_price == 0 and player_limit == 0 then
|
||||
message = 'SOLD!'
|
||||
elseif total_price == 0 then
|
||||
message = 'FREE!'
|
||||
elseif total_price == 1 then
|
||||
message = '1 coin'
|
||||
|
Loading…
x
Reference in New Issue
Block a user