forked from github/server
Merge pull request #200 from badgerman/develop
Fix for embassy.lua in new games
This commit is contained in:
commit
58ec65923d
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue