From 7cc1cc9eda30ab06032743a6f713e1008300be3c Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 19 May 2015 22:45:03 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ce78fd36a..efd1318d9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # What is this? -This repository contains an the source code for the Play-by-Mail strategy game [Eressea](http://www.eressea.de/). +This repository contains the source code for the Play-by-Mail strategy game [Eressea](http://www.eressea.de/). # Prerequisites From 657c621582c264e55a7811cca0b1eee61f62329e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 20 May 2015 13:05:47 +0200 Subject: [PATCH 2/2] if the game has no region named Muschelplateau, then ignore this code --- scripts/eressea/embassy.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/eressea/embassy.lua b/scripts/eressea/embassy.lua index e4cd4b3fc..efbe248b7 100644 --- a/scripts/eressea/embassy.lua +++ b/scripts/eressea/embassy.lua @@ -25,7 +25,10 @@ function embassy.init() end function embassy.update() --- Muschelplateau + -- Muschelplateau + if home==nil then + return + end eressea.log.debug("updating embassies in " .. tostring(home)) local u for u in home.units do