mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2024-12-25 03:08:55 +00:00
Rename item
This commit is contained in:
parent
1e9250dadf
commit
cc482dc465
@ -19,8 +19,8 @@ export class ItemSpawner extends Component {
|
||||
item.PickupEvent.on(this.return, this);
|
||||
}
|
||||
|
||||
private return(gold: Item): void {
|
||||
gold.PickupEvent.off(this.return);
|
||||
this.itemPool.return(gold);
|
||||
private return(item: Item): void {
|
||||
item.PickupEvent.off(this.return);
|
||||
this.itemPool.return(item);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user