finally fix deserialization of the new format

This commit is contained in:
minenice55
2022-08-21 21:57:32 -04:00
parent cc577966c1
commit fe0b97d1ab
6 changed files with 47 additions and 39 deletions

View File

@ -28,6 +28,11 @@ namespace HeavenStudio
return game.actions.Find(c => c.actionName == action);
}
public Minigames.Param GetGameParam(Minigames.Minigame game, string action, string param)
{
return GetGameAction(game, action).parameters.Find(c => c.propertyName == param);
}
public void Init()
{
instance = this;