Skip to content

"Bug" Report: Small harmless typos I found randomly #4083

Description

@Starexify

Issue Checklist

  • I have read the pinned Issues Guide
  • I have checked the Issues/Discussions pages to see if my issue has already been reported
  • I have properly named my issue

Platform

Windows

Version

0.5.3

Description (include any images, videos, errors, or crash logs)

Not a bug but I found some syntax errors:

  1. ;'s at the end of functions/conditions





    public function onScriptEvent(event:ScriptEvent):Void {};
    public function onCreate(event:ScriptEvent):Void {};
    public function onDestroy(event:ScriptEvent):Void {};
    public function onUpdate(event:UpdateScriptEvent):Void {};


    public function onScriptEvent(event:ScriptEvent):Void {};
    public function onCreate(event:ScriptEvent):Void {};
    public function onDestroy(event:ScriptEvent):Void {};
    public function onUpdate(event:UpdateScriptEvent):Void {};

    public function onPause(event:PauseScriptEvent):Void {};
    public function onResume(event:ScriptEvent):Void {};
    public function onSongLoaded(event:SongLoadScriptEvent):Void {};
    public function onSongStart(event:ScriptEvent):Void {};
    public function onSongEnd(event:ScriptEvent):Void {};
    public function onGameOver(event:ScriptEvent):Void {};
    public function onSongRetry(event:ScriptEvent):Void {};
    public function onNoteIncoming(event:NoteScriptEvent) {}
    public function onNoteHit(event:HitNoteScriptEvent) {}
    public function onNoteMiss(event:NoteScriptEvent):Void {};
    public function onNoteGhostMiss(event:GhostMissNoteScriptEvent):Void {};
    public function onSongEvent(event:SongEventScriptEvent):Void {};
    public function onStepHit(event:SongTimeScriptEvent):Void {};
    public function onBeatHit(event:SongTimeScriptEvent):Void {};
    public function onCountdownStart(event:CountdownScriptEvent):Void {};
    public function onCountdownStep(event:CountdownScriptEvent):Void {};
    public function onCountdownEnd(event:CountdownScriptEvent):Void {};
    public function onScriptEvent(event:ScriptEvent):Void {};
    public function onCreate(event:ScriptEvent):Void {};
    public function onDestroy(event:ScriptEvent):Void {};
    public function onUpdate(event:UpdateScriptEvent):Void {};

  2. Duplicate Imports:
    FunkinSound:

    import funkin.audio.FunkinSound;
    import funkin.ui.mainmenu.MainMenuState;
    import funkin.ui.MusicBeatState;
    import funkin.graphics.shaders.HSVShader;
    import funkin.util.WindowUtil;
    import funkin.audio.FunkinSound;

  3. , at the end of a list/array etc

    targetSongId: currentSong.id,

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: plannedPlanned to be implemented some time in the future.type: choreInvolves minor adjustments that do not make functional changes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions