Merge pull request #200 from badgerman/develop

Fix for embassy.lua in new games
This commit is contained in:
Enno Rehling 2015-05-20 20:07:55 +02:00
commit 58ec65923d
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# What is this? # 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 # Prerequisites

View File

@ -26,6 +26,9 @@ end
function embassy.update() function embassy.update()
-- Muschelplateau -- Muschelplateau
if home==nil then
return
end
eressea.log.debug("updating embassies in " .. tostring(home)) eressea.log.debug("updating embassies in " .. tostring(home))
local u local u
for u in home.units do for u in home.units do