summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 2327ef7df..134250cdb 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1704,6 +1704,7 @@ int map_readallmap(void) {
if(map_readmap(i,fn, p) == -1) {
map_delmap(map[i].name);
maps_removed++;
+ i--;
} else {
if (last_time != time(0)) {
last_time = time(0);