diff options
author | x3Karma <juliuslimck@gmail.com> | 2024-08-31 20:39:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-31 14:39:12 +0200 |
commit | e253357946fd7287c31d1e2a439bac4762c3ba3d (patch) | |
tree | c0e267d40fc8a272f20c79337ee137505b6ca207 /Northstar.CustomServers/mod/scripts/vscripts | |
parent | 331828005244bd9da0f5a0213ecfff9c957c1453 (diff) | |
download | NorthstarMods-e253357946fd7287c31d1e2a439bac4762c3ba3d.tar.gz NorthstarMods-e253357946fd7287c31d1e2a439bac4762c3ba3d.zip |
Fix `PlayerInventory_TakeAllInventoryItems` not being threaded (#852)
This needs to be threaded as there's a `waitthread` further below on that function, which will cause an error if not threaded.
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/item_inventory/sv_item_inventory.gnut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/item_inventory/sv_item_inventory.gnut b/Northstar.CustomServers/mod/scripts/vscripts/item_inventory/sv_item_inventory.gnut index 9057f7d8..3814126b 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/item_inventory/sv_item_inventory.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/item_inventory/sv_item_inventory.gnut @@ -32,7 +32,7 @@ void function PrematchClearInventory() // vanilla behavior { foreach( entity player in GetPlayerArray() ) { - PlayerInventory_TakeAllInventoryItems( player ) + thread PlayerInventory_TakeAllInventoryItems( player ) } } |