You've already forked KF-MMO-Server
fixed removing users from session
This commit is contained in:
@@ -65,7 +65,6 @@ export class levelState{
|
||||
|
||||
removePlayer(player : characterData) : boolean{
|
||||
this.players = this.players.filter(p=> p !== player)
|
||||
|
||||
if(this.hostId == player.id){
|
||||
if(this.players.length > 0){
|
||||
this.hostId = this.players[0].id
|
||||
|
||||
Reference in New Issue
Block a user