@hanabi-live/game
    Preparing search index...

    Function addVariant

    • Builds a variant from the rules that the server sends, and adds it to the variants that getVariant and getVariantByRecipe find. It takes the place of the variant with the same recipe.

      Parameters

      Returns Variant