if the game has no region named Muschelplateau, then ignore this code

This commit is contained in:
Enno Rehling 2015-05-20 13:05:47 +02:00
parent 7cc1cc9eda
commit 657c621582
1 changed files with 4 additions and 1 deletions

View File

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