Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using NLog;
using PinMame;
using UnityEngine;
Expand Down Expand Up @@ -223,7 +224,7 @@ private void OnDestroy()
_dmdLevels.Clear();
}

public void OnInit(Player player, TableApi tableApi, BallManager ballManager)
public Task OnInit(Player player, TableApi tableApi, BallManager ballManager)
{
string vpmPath = null;
_ballManager = ballManager;
Expand Down Expand Up @@ -284,6 +285,8 @@ public void OnInit(Player player, TableApi tableApi, BallManager ballManager)
} catch (Exception e) {
Logger.Error(e);
}

return Task.CompletedTask;
}

public void ToggleSpeed()
Expand Down