Fix inventory slots not updating when prediction is disabled. (#12215)

This commit is contained in:
Leon Friedrich 2022-10-26 16:19:02 +13:00 committed by GitHub
parent 0f79c7abe6
commit f6db79d303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ namespace Content.Client.Inventory
public override void Initialize()
{
UpdatesOutsidePrediction = true;
base.Initialize();
SubscribeLocalEvent<ClientInventoryComponent, PlayerAttachedEvent>(OnPlayerAttached);