Fix update world back end and deleting group in front end
This commit is contained in:
parent
89c22e9964
commit
e35c188854
3 changed files with 27 additions and 18 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue