Merge pull request #93 from thecodingmachine/fix-recette-grp

Fix recette GRP
This commit is contained in:
David Négrier
2020-05-11 22:59:22 +02:00
committed by GitHub
3 changed files with 30 additions and 23 deletions
+3
View File
@@ -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);
}