summaryrefslogtreecommitdiff
path: root/src/netcomputer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/netcomputer.cpp')
-rw-r--r--src/netcomputer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netcomputer.cpp b/src/netcomputer.cpp
index 40685b51..2bf04db8 100644
--- a/src/netcomputer.cpp
+++ b/src/netcomputer.cpp
@@ -64,7 +64,7 @@ void NetComputer::setCharacter(tmwserv::BeingPtr ch)
state.removeBeing(characterPtr);
}
characterPtr = ch;
- state.addBeing(characterPtr, characterPtr->getMapId());
+ state.addBeing(characterPtr, characterPtr->getMap());
}
void NetComputer::unsetAccount()