Quick patch for the last commit
Fixed some bugs that appeared with the last commit. Added more info on the event functions documentation.
This commit is contained in:
@@ -39,6 +39,8 @@ function timeOut(eim) {
|
||||
end(eim);
|
||||
}
|
||||
|
||||
function playerUnregistered(eim, player) {}
|
||||
|
||||
function playerExit(eim, player, success) {
|
||||
eim.unregisterPlayer(player);
|
||||
player.changeMap(success ? exitMap.getId() : returnMap.getId(), 0);
|
||||
|
||||
Reference in New Issue
Block a user