fix: segfaults during battles
add: change map with connection data
fix: moveTo failing after battles
fix: change map when player is not facing exit