Set object to a falsey value when resetting
This commit is contained in:
parent
9a398e41a8
commit
fd11293623
1 changed files with 1 additions and 0 deletions
|
|
@ -119,6 +119,7 @@ export class Game {
|
|||
if (this._objectCard) {
|
||||
this._objects.discard(this._objectCard);
|
||||
this._objectCard = null;
|
||||
this.object = ``;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue