Skip to content

Commit

Permalink
Allow non-global managers for FlxTween and FlxTimer (HaxeFlixel#1934)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeCreates authored and Aurel300 committed Apr 17, 2018
1 parent 279760a commit 5901b8b
Show file tree
Hide file tree
Showing 7 changed files with 374 additions and 75 deletions.
4 changes: 2 additions & 2 deletions flixel/system/frontEnds/PluginFrontEnd.hx
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ class PluginFrontEnd
@:allow(flixel.FlxG)
private function new()
{
add(FlxTimer.manager = new FlxTimerManager());
add(FlxTween.manager = new FlxTweenManager());
add(FlxTimer.globalManager = new FlxTimerManager());
add(FlxTween.globalManager = new FlxTweenManager());
}

/**
Expand Down
Loading

0 comments on commit 5901b8b

Please sign in to comment.