Skip to content

Commit 8dca6f0

Browse files
author
linguangliang
committed
typo
1 parent d1a8a81 commit 8dca6f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gameserver/src/app/cluster/rpc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ end
1515

1616
function rpc.reload()
1717
-- 优先使用nodes中提供的集群配置
18-
local nodes = skynet.getenv("nodes")
18+
local nodes = skynet.getenv("nodes") or {}
1919
rpc.node_address = {}
2020
for node_name,conf in pairs(nodes) do
2121
rpc.node_address[node_name] = conf.address

gameserver/src/app/version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "0.0.2"
1+
return "0.2.0"

0 commit comments

Comments
 (0)