Skip to content

Bit-flip: mislabel config option - #6

Open
FleepS wants to merge 1 commit into
boiidevelopment:mainfrom
FleepS:fix/bit-flip-params
Open

Bit-flip: mislabel config option#6
FleepS wants to merge 1 commit into
boiidevelopment:mainfrom
FleepS:fix/bit-flip-params

Conversation

@FleepS

@FleepS FleepS commented Jul 10, 2026

Copy link
Copy Markdown

Fix callback cleanup order in minigame result handler

Problem

Mislabels params on bit flip minigame

game_settings.md shows:

...
exports.mgc:start_game({
    game = 'bit_flip',
    data = {
        length = 3, -- length of code sequence to solve
        timer = 30000 -- total time allowed
    }
}, function(result)
    if result.success then
        print(('Game %s completed successfully'):format(result.game))
    else
        print(('Game %s failed'):format(result.game))
    end
end)
...

yet BitFlip.js has

this.config = {
    timer: 15000,
    code_length: 8
};

Fix

Correct the names

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant