remove damage_noise
This commit is contained in:
parent
0a39d4aa0c
commit
32f35d125d
@ -106,6 +106,7 @@ local function main_button_handler(this, fields, name, tabdata)
|
||||
if fields["play"] ~= nil or world_doubleclick or fields["key_enter"] then
|
||||
local selected = core.get_textlist_index("sp_worlds")
|
||||
gamedata.selected_world = menudata.worldlist:get_raw_index(selected)
|
||||
core.settings:set_bool("auto_connect", false)
|
||||
|
||||
if core.settings:get_bool("enable_server") then
|
||||
if selected ~= nil and gamedata.selected_world ~= 0 then
|
||||
@ -114,7 +115,6 @@ local function main_button_handler(this, fields, name, tabdata)
|
||||
gamedata.port = fields["te_serverport"]
|
||||
gamedata.address = ""
|
||||
|
||||
core.settings:set_bool("auto_connect", false)
|
||||
core.settings:set("port",gamedata.port)
|
||||
if fields["te_serveraddr"] ~= nil then
|
||||
core.settings:set("bind_address",fields["te_serveraddr"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user