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 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