Skip to content

Commit

Permalink
Merge branch 'develop' into fix-camera-tween
Browse files Browse the repository at this point in the history
  • Loading branch information
lemz1 authored Sep 25, 2024
2 parents 43431c1 + c3f982b commit 2d30842
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion example_mods/introMod/_polymod_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "EliteMasterEric"
}
],
"api_version": "0.1.0",
"api_version": "0.5.0",
"mod_version": "1.0.0",
"license": "Apache-2.0"
}
2 changes: 1 addition & 1 deletion example_mods/testing123/_polymod_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "EliteMasterEric"
}
],
"api_version": "0.1.0",
"api_version": "0.5.0",
"mod_version": "1.0.0",
"license": "Apache-2.0"
}
1 change: 0 additions & 1 deletion source/funkin/play/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3049,7 +3049,6 @@ class PlayState extends MusicBeatSubState
GameOverSubState.reset();
PauseSubState.reset();
Countdown.reset();
PopUpStuff.reset();

// Clear the static reference to this state.
instance = null;
Expand Down
9 changes: 0 additions & 9 deletions source/funkin/play/components/PopUpStuff.hx
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,4 @@ class PopUpStuff extends FlxTypedGroup<FunkinSprite>
daLoop++;
}
}

/**
* Reset the popup configuration to the default.
*/
public static function reset()
{
noteStyle = NoteStyleRegistry.instance.fetchDefault();
isPixel = false;
}
}
2 changes: 1 addition & 1 deletion source/funkin/ui/debug/anim/DebugBoundingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class DebugBoundingState extends FlxState
{
// get the screen position, according to the HUD camera, temp default to FlxG.camera juuust in case?
var hudMousePos:FlxPoint = FlxG.mouse.getScreenPosition(hudCam ?? FlxG.camera);
return Screen.instance.hasSolidComponentUnderPoint(hudMousePos.x, hudMousePos.y) || FlxG.mouse.overlaps(animDropDownMenu, hudCam);
return Screen.instance.hasSolidComponentUnderPoint(hudMousePos.x, hudMousePos.y);
}

override function create()
Expand Down

0 comments on commit 2d30842

Please sign in to comment.