Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
修正运算符typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yechentide committed Jul 12, 2022
1 parent 70a9660 commit 3d166a4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DSTManager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -eu

# 这个脚本里将会读取其他的全部shell脚本, 所以以下全局常量/变量在其他shell脚本里可用
declare OS='MacOS'
declare -r SCRIPT_VERSION='v1.5.3'
declare -r SCRIPT_VERSION='v1.5.4'
declare -r ARCHITECTURE=$(getconf LONG_BIT)
declare -r REPO_ROOT_DIR="$HOME/DSTServerManager"
# DST服务端文件夹
Expand Down
4 changes: 2 additions & 2 deletions bin/editor/configure_world.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ function configure_model(table, prefix, is_generation)
if answer == false then break end

local target = select_one(option_array, "info", "请选一个选项", true)
if target = "返回" then break end
if target == "返回" then break end

local value_type = table[group_name][target]["type"]
local value_options = world_value_types[value_type]["zh"]
local new_value = select_one(value_options, "info", "请选一个选项", true)
if new_value = "返回" then break end
if new_value == "返回" then break end

table[group_name][target]["value"] = translate_2key(world_value_types, value_type, new_value)
end
Expand Down
2 changes: 1 addition & 1 deletion bin/editor/edit_cluster_ini.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function configure_model(table)

local option_array = table["array"]
local target = select_one(option_array, "info", "请选一个选项", true)
if target = "返回" then break end
if target == "返回" then break end

local value_type = table[target]["type"]
local new_value
Expand Down
2 changes: 1 addition & 1 deletion bin/editor/edit_shard_ini.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function configure_model(table)

local option_array = table["array"]
local target = select_one(option_array, "info", "请选一个选项", true)
if target = "返回" then break end
if target == "返回" then break end

local value_type = table[target]["type"]
local new_value
Expand Down
4 changes: 4 additions & 0 deletions docs/更新日志.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 更新日志

## 1.5.4

- 修正运算符typo

## 1.5.3

- 添加更多的返回
Expand Down

0 comments on commit 3d166a4

Please sign in to comment.