Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove combo/rating popup sprites from comboGroup #6

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions source/psychlua/HScript.hx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import psychlua.FunkinLua;

#if HSCRIPT_ALLOWED
import tea.SScript;

#if (SScript >= "7.7.0")
import tea.SScript.TeaCall as Tea;
#end

class HScript extends SScript
{
public var modFolder:String;
Expand Down
3 changes: 3 additions & 0 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2579,6 +2579,7 @@ class PlayState extends MusicBeatState
onComplete: function(tween:FlxTween)
{
numScore.destroy();
comboGroup.remove(numScore);
},
startDelay: Conductor.crochet * 0.002 / playbackRate
});
Expand All @@ -2596,6 +2597,8 @@ class PlayState extends MusicBeatState
{
comboSpr.destroy();
rating.destroy();
comboGroup.remove(comboSpr);
comboGroup.remove(rating);
},
startDelay: Conductor.crochet * 0.002 / playbackRate
});
Expand Down
Loading