… | … | ||
---|---|---|---|
104 | $SCHEDULER->prio (-2); | 104 | $SCHEDULER->prio (-2); |
105 | }; | 105 | }; |
106 | 106 | ||
107 | # purely for debugging, will load ALL maps | 107 | # purely for debugging, will load ALL maps |
108 | sub loadall { | 108 | sub loadall { |
109 | my $maps = cf::map::static_maps; | ||
110 | |||
111 | for my $path (@$maps) { | ||
112 | my $map = cf::map::find $path | ||
113 | or warn "ERROR: unable to find map $path\n"; | ||
114 | $map->load; | ||
115 | } | ||
109 | } | 116 | } |
110 | 117 | ||
111 | 118 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |