Gargamiel / PokeWorld

RimWorld mod adding all 493 Pokémon from gen I-IV
MIT License
22 stars 9 forks source link

Resurrector Serum breaks the game when administered to a Pokémon #4

Closed Gargamiel closed 2 years ago

NRFBToyStore commented 3 years ago

Just tested using the DEV command to "resurrect" and it nuked the game/UI. I would post code but my log like is a GIG long, due to the PW_Legendary error happening 800 times a second.

Gargamiel commented 3 years ago

It may probably be due to the way the mod handle Pokémon feature (CompPokemon & subcomponents) after their death. I believe the mod simply destroys the data and the game cant find them again if the Pokémon is resurrected.

Gargamiel commented 2 years ago

Fixed, it was indeed a problem of setting stuff to null after death when i shouldn't have