fix marker sorting

This commit is contained in:
Pyro Nicampt committed 2026-02-08 03:17:58 -06:00
1 parent 77ec65a601
commit dc6b7b42a4
1 file changed
-2
-2
View File
@@ -108,7 +108,6 @@ export function sortMarkers(){
} }
function markerSortFunction(a, b){ function markerSortFunction(a, b){
(a,b) => {
if(a.type == 'player') return 1; if(a.type == 'player') return 1;
if(b.type == 'player') return -1; if(b.type == 'player') return -1;
if(a.type == b.type){ if(a.type == b.type){
@@ -132,7 +131,6 @@ function markerSortFunction(a, b){
if(b.type == 'demonstratorSpawnHint') return 1; if(b.type == 'demonstratorSpawnHint') return 1;
return 0; return 0;
} }
}
export function sortShops(){ export function sortShops(){
for(let shop in Shops){ for(let shop in Shops){