Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
cave miner msg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MewMew committed Oct 1, 2018
1 parent 7408ac9 commit 10a6d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maps/cave_miner.lua
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ end

local function hunger_update(player, food_value)

if food_value == -1 and player.character.driving == true then game.print("driving") return end
if food_value == -1 and player.character.driving == true then return end

local past_hunger = global.player_hunger[player.name]
global.player_hunger[player.name] = global.player_hunger[player.name] + food_value
Expand Down

0 comments on commit 10a6d46

Please sign in to comment.