Fix update world back end and deleting group in front end
This commit is contained in:
@@ -411,6 +411,9 @@ export class GameScene extends Phaser.Scene implements GameSceneInterface, Creat
|
||||
}
|
||||
|
||||
deleteGroup(groupId: string): void {
|
||||
if(!this.groups.get(groupId)){
|
||||
return;
|
||||
}
|
||||
this.groups.get(groupId).destroy();
|
||||
this.groups.delete(groupId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user