Skip to content

Commit

Permalink
be fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GiordanoT committed Nov 27, 2023
1 parent 4cf4ae9 commit f7a5b21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/persistance/save.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class Save {
const defaultViews = U.getDefaultViewsID() as Pointer[];
await Fetch.delete(url);
for(let element of elements) {
if(defaultViews.includes(element.id)) continue;
if(!element || defaultViews.includes(element.id)) continue;
console.log(`Saving To Server (${element.className})`, element);
await Fetch.post(url, U.json(element));
}
Expand Down
2 changes: 1 addition & 1 deletion src/joiner/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ let bb2 = fffff(a);
@RuntimeAccessible
export class DUser extends DPointerTargetable {
public static cname: string = 'DUser';
public static offlineMode: boolean = true;
public static offlineMode: boolean = false;
// static current: Pointer<DUser> = 'Pointer_AnonymousUser';
static current: Pointer<DUser> = '';
static subclasses: (typeof RuntimeAccessibleClass | string)[] = [];
Expand Down

0 comments on commit f7a5b21

Please sign in to comment.