Fixed wrong pointer being used in PlayerFinishLevel, causing wrong inventory items to be destroyed.
This commit is contained in:
parent
5d38e4c476
commit
44623daafe
1 changed files with 1 additions and 1 deletions
|
|
@ -2111,7 +2111,7 @@ class PlayerPawn : Actor
|
|||
let it = toDelete[i];
|
||||
if (!it.bDestroyed)
|
||||
{
|
||||
item.DepleteOrDestroy();
|
||||
it.DepleteOrDestroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue