From 49493fa630e9e03b1639717c9391a4937a8befa4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 6 Nov 2014 07:53:15 +0100 Subject: [PATCH] fix typo in last commit. package is a standard lua module, not a good variable name. log name of script. --- scripts/eressea/locales.lua | 6 +++--- src/main.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/eressea/locales.lua b/scripts/eressea/locales.lua index c3a9cdd83..aa895ddb9 100644 --- a/scripts/eressea/locales.lua +++ b/scripts/eressea/locales.lua @@ -10,11 +10,11 @@ local function change_locales(localechange) end end -local package = {} +local pkg = {} -function pacakge.update() +function pkg.update() local localechange = { de = { 'ii' } } change_locales(localechange) end -return package +return pkg diff --git a/src/main.c b/src/main.c index 10cb2c002..7f74c9ea4 100644 --- a/src/main.c +++ b/src/main.c @@ -268,7 +268,7 @@ int main(int argc, char **argv) bind_monsters(L); err = eressea_run(L, luafile); if (err) { - log_error("server execution failed with code %d\n", err); + log_error("script %s failed with code %d\n", luafile, err); return err; } #ifdef MSPACES