Skip to content

Commit c64a812

Browse files
authored
Merge branch 'master' into 2024-vite
2 parents 01e3acd + c8f693c commit c64a812

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)