diff options
author | ubq323 <ubq323@ubq323.website> | 2023-01-24 15:28:43 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-01-24 15:28:43 +0000 |
commit | e97b8e844c931c9daff036805ea18d087429d472 (patch) | |
tree | a60d91e49eb54e9101ebf4d285481ad4dd505ce5 /client | |
parent | b5484fc37c1f93654f95f21483d52229a34e6330 (diff) |
things and stuff and things
Diffstat (limited to 'client')
-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() |