summaryrefslogtreecommitdiff
path: root/pacmine
diff options
context:
space:
mode:
authorFernando Carmona Varo <ferkiwi@gmail.com>2015-10-27 23:26:30 +0100
committerFernando Carmona Varo <ferkiwi@gmail.com>2015-10-27 23:26:43 +0100
commit3eb0d44c20383a1c3d0fe4552b169b223010a46e (patch)
tree95809bc2a61e44f096ab98ac4768ee362c50b2c9 /pacmine
parent4b80f2d4e48e74fff4ea6df4b32fad4264dbc2ef (diff)
Integrated Mario gamestate logic, some fixes and tweaks
Diffstat (limited to 'pacmine')
-rwxr-xr-xpacmine/gamestate.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacmine/gamestate.lua b/pacmine/gamestate.lua
index 3955e7c..3b948f7 100755
--- a/pacmine/gamestate.lua
+++ b/pacmine/gamestate.lua
@@ -23,7 +23,7 @@ function pacmine.game_start(pos, player, gamedef)
-- make sure any previous game with the same id has ended
local gamestate = pacmine.games[id]
if gamestate then
- minetest.chat_send_player(name, "A game is already in progress for player " .. gamestate.player_name)
+ minetest.chat_send_player(player_name, "A game is already in progress for player " .. gamestate.player_name)
return
end