aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod
diff options
context:
space:
mode:
authorx3Karma <juliuslimck@gmail.com>2024-08-31 20:39:12 +0800
committerGitHub <noreply@github.com>2024-08-31 14:39:12 +0200
commite253357946fd7287c31d1e2a439bac4762c3ba3d (patch)
treec0e267d40fc8a272f20c79337ee137505b6ca207 /Northstar.CustomServers/mod
parent331828005244bd9da0f5a0213ecfff9c957c1453 (diff)
downloadNorthstarMods-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')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/item_inventory/sv_item_inventory.gnut2
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 )
}
}