diff options
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -639,7 +639,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) if fields.cancel then return end - if price > atm.balance[name] and not name == oldowner then + if (price > atm.balance[name]) and not (name == oldowner) then minetest.chat_send_player(name, "Not enough money on your account. Please recharge on the atm") return else |