summaryrefslogtreecommitdiff
path: root/client/main.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-01-24 15:28:43 +0000
committerubq323 <ubq323@ubq323.website>2023-01-24 15:28:43 +0000
commite97b8e844c931c9daff036805ea18d087429d472 (patch)
treea60d91e49eb54e9101ebf4d285481ad4dd505ce5 /client/main.lua
parentb5484fc37c1f93654f95f21483d52229a34e6330 (diff)
things and stuff and things
Diffstat (limited to 'client/main.lua')
-rw-r--r--client/main.lua6
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()