Skip to content

Commit

Permalink
Fix DI
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Jan 27, 2024
1 parent 83122a4 commit de40546
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mod/Jailbreak.Draw/Global/DrawManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ public class DrawManager : IPluginBehavior, IDrawService
{
private List<DrawableShape> shapes = new List<DrawableShape>();

public DrawManager(BasePlugin plugin)
public DrawManager()
{
}

public void Start(BasePlugin plugin)
{
plugin.AddTimer(1f, Tick, TimerFlags.REPEAT);
}
Expand Down

0 comments on commit de40546

Please sign in to comment.