Skip to content

Commit c764bdd

Browse files
Update Character.hx
small flaw with XML setting
1 parent fc32a23 commit c764bdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/funkin/game/Character.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset
463463

464464
if (cameraOffset.x != 0) xml.set("camx", Std.string(FlxMath.roundDecimal(cameraOffset.x, 2)));
465465
if (cameraOffset.y != 0) xml.set("camy", Std.string(FlxMath.roundDecimal(cameraOffset.y, 2)));
466-
if (centeredCamera != !isAnimate) xml.set("centercam", centeredCamera);
466+
if (centeredCamera != !isAnimate) xml.set("centercam", centeredCamera ? "true" : "false");
467467

468468
if (holdTime != 4) xml.set("holdTime", Std.string(FlxMath.roundDecimal(holdTime, 4)));
469469

0 commit comments

Comments
 (0)