Areastore: fix "attempt to index a number value"
authorest31 <MTest31@outlook.com>
Thu, 3 Sep 2015 03:58:29 +0000 (05:58 +0200)
committerest31 <MTest31@outlook.com>
Thu, 3 Sep 2015 04:17:02 +0000 (06:17 +0200)
commit2035bfc3a64e7c0c82f0cb100cd7d4cc588d0203
tree931323002cbf8b54c34118c32a3bd7093022fb12
parentd4938554818aa71aceb0d360f33c6cfd42f67008
Areastore: fix "attempt to index a number value"

Before, calling get_areas_in_area for an areastore with both
include_borders and include_data would result in a lua error,
if there was at least one area as result:
attempt to index a number value in function 'get_areas_in_area'
src/script/lua_api/l_areastore.cpp