Skip to content

Commit

Permalink
Initialise item location asynchronously
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimatedSwine37 authored Mar 11, 2022
1 parent 8a44b5e commit 66caca9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion p4gpc.tinyadditions/Inputs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ public void SetInputEvent(int input, bool risingEdge, bool keyboard)
{
if(!_itemLocationInitialised)
{
_utils.InitialiseItemLocation();
Task.Run(() =>
{
_utils.InitialiseItemLocation();
});
_itemLocationInitialised = true;
}

Expand Down

0 comments on commit 66caca9

Please sign in to comment.