summaryrefslogtreecommitdiff
path: root/server/src/global_protect.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/global_protect.lua')
-rw-r--r--server/src/global_protect.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/global_protect.lua b/server/src/global_protect.lua
index 6c736ea6..27f84191 100644
--- a/server/src/global_protect.lua
+++ b/server/src/global_protect.lua
@@ -2,9 +2,9 @@ local mt = {}
setmetatable(_G, mt)
function mt:__index(k)
- error(('读取不存在的全局变量[%s]'):format(k), 2)
+ error(('Read undefined global: [%s]'):format(k), 2)
end
function mt:__newindex(k, v)
- error(('保存全局变量[%s] = [%s]'):format(k, v), 2)
+ error(('Save global: [%s] = [%s]'):format(k, v), 2)
end