Skip to content

Commit c8f693c

Browse files
authored
Game: Save game state for staff and admin (#3013)
* Remove role check for game saves * Fix format
1 parent dfe3114 commit c8f693c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/features/game/save/GameSaveRequests.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ import { FullSaveState } from './GameSaveTypes';
1212
* @param fullSaveState - the entire game data that needs to be saved, including game state and userstate
1313
*/
1414
export async function saveData(fullSaveState: FullSaveState) {
15-
if (SourceAcademyGame.getInstance().getAccountInfo().role !== 'student') {
16-
return;
17-
}
18-
1915
const options = {
2016
method: 'PUT',
2117
headers: createHeaders(SourceAcademyGame.getInstance().getAccountInfo().accessToken),

0 commit comments

Comments
 (0)