Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
346652a8
Commit
346652a8
authored
10 years ago
by
Loïc Blot
Browse files
Options
Downloads
Patches
Plain Diff
Fix issue #2278, Connection sent before address data loading
parent
7880ff74
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
builtin/mainmenu/tab_multiplayer.lua
+3
-2
3 additions, 2 deletions
builtin/mainmenu/tab_multiplayer.lua
with
3 additions
and
2 deletions
builtin/mainmenu/tab_multiplayer.lua
+
3
−
2
View file @
346652a8
...
...
@@ -198,8 +198,9 @@ local function main_button_handler(tabview, fields, name, tabdata)
return
true
end
if
fields
[
"btn_mp_connect"
]
~=
nil
or
fields
[
"key_enter"
]
~=
nil
then
if
(
fields
[
"btn_mp_connect"
]
~=
nil
or
fields
[
"key_enter"
]
~=
nil
)
and
fields
[
"te_address"
]
~=
nil
and
fields
[
"te_port"
]
~=
nil
then
gamedata
.
playername
=
fields
[
"te_name"
]
gamedata
.
password
=
fields
[
"te_pwd"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment