Skip to content

Commit

Permalink
Dont crash when saving at save station
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee committed Jun 29, 2024
1 parent fbb25c7 commit e1252f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ All notable changes to this project will be documented in this file.

This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project (tries to) adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)

## [2.7.2] - 2024-06-29

### Fixed
- The game doesn't crash anymore when saving at a save station.

## [2.7.1] - 2024-06-28

Expand Down
2 changes: 1 addition & 1 deletion YAMS-LIB/patches/qol/SaveCutsceneSkip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void Apply(UndertaleData gmData, GlobalDecompileContext decompileC
instance_create(x, y, oSaveSparks)
}
popup_text(get_text("Notifications", "GameSaved"))
save_game({{(!isHorde ? "save" : "working_directory + \"/TheHorde/save\"")}} + (string(global.saveslot + 1)))
save_game({{(!isHorde ? "\"save\"" : "working_directory + \"/TheHorde/save\"")}} + (string(global.saveslot + 1)))
refill_heath_ammo()
}
if ((statetime == 230 && !global.skipSaveCutscene) || (statetime == 10 && global.skipSaveCutscene))
Expand Down

0 comments on commit e1252f2

Please sign in to comment.