# RestoreGame (Kernel)

`RestoreGame`(gameName slotNumber gameVerison)

  Restores a game state with the game saved in the specified slot number. The gameName and gameVersion parameters are used to prevent opening of games from other versions.

  Parameters: | gameName (string) – The name of the game. slotNumber (number) – The slot number of the save game. gameVersion (string) – The game version.

  Example:

      (RestoreGame "LSL3" 2 "1.002")