Merge pull request #93 from thecodingmachine/fix-recette-grp
Fix recette GRP
This commit is contained in:
commit
0daddb3669
3 changed files with 30 additions and 23 deletions
|
@ -422,6 +422,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