summaryrefslogtreecommitdiff
path: root/pacmine/gamestate.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pacmine/gamestate.lua')
-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