From e97b8e844c931c9daff036805ea18d087429d472 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 24 Jan 2023 15:28:43 +0000 Subject: things and stuff and things --- client/main.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client') 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() -- cgit v1.2.3