mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
Update game-data-utils.ts
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
parent
9505bda720
commit
495c928e5d
@ -4,7 +4,7 @@ import { loggedInUser } from "#app/account";
|
||||
* Utility function to obtain the local storage key for a given save slot.
|
||||
* @param slotId - The numerical save slot ID.
|
||||
* Will throw an error if `<0` (in line with standard util functions)
|
||||
* @returns The local storage key used to access the save data for the given slot..
|
||||
* @returns The local storage key used to access the save data for the given slot.
|
||||
*/
|
||||
export function getSaveDataLocalStorageKey(slotId: number): string {
|
||||
if (slotId < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user