Commit e85f777
authored
feature(mapper): Add logic for instanced areas (#46)
* Adds logic for instanced areas
Calls to deleteArea when switching to a new zone if that zone is "instanced". There may be instances where this is incorrect, but I haven't run into any since adding the logic for ignoring "Battlefield".
* Handle case where map.prev_info.area is not yet set
This likely would have led to the deletion of the area a user logged into.1 parent 5eb952f commit e85f777
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
331 | 332 | | |
332 | 333 | | |
333 | 334 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
344 | 350 | | |
345 | 351 | | |
346 | 352 | | |
| |||
0 commit comments