risk-of-thunder / R2API

A modding API for Risk of Rain 2
https://thunderstore.io/package/tristanmcpherson/R2API/
MIT License
136 stars 55 forks source link

Fix VoidLocus & ThePlanetarium accidental swap #482

Closed Nebby1999 closed 1 year ago

Nebby1999 commented 1 year ago

The original code for DirectorAPI has this set to their methods that parse a Stage's name to a Stage Enum, and for StageEnum to StageName.

Stage.VoidLocus => "voidraid",
Stage.ThePlanetarium => "voidstage",
"voidraid" => Stage.VoidLocus,
"voidstage" => Stage.ThePlanetarium,

This of course is wrong, as the enum and names point to the wrong values, VoidLocus should point to voidstage and ThePlanetarium should point to voidraid`

i'm doing this change as this was an upstream issue on teammoonstorm/starstorm2#271

xiaoxiao921 commented 1 year ago

can u make a changelog in the r2api.director readme and bump its version in its thunderstore toml file

Nebby1999 commented 1 year ago

Done