diff options
Diffstat (limited to 'client/main.lua')
-rw-r--r-- | client/main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/main.lua b/client/main.lua index 4375ed3..9ee18ea 100644 --- a/client/main.lua +++ b/client/main.lua @@ -1,10 +1,10 @@ local enet = require"enet" local words = require"common.words" - +local SERVER_HOSTNAME = "192.168.1.112" local PLAYER_SIZE = 30 -local local_player = false +local local_player = nil -- { -- pos={100,100}, @@ -113,7 +113,7 @@ end function love.load() host = enet.host_create() - peer = host:connect("localhost:8473") + peer = host:connect(SERVER_HOSTNAME..":8473") end function love.quit() |