mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 09:06:55 -04:00
Webclient: Allow importing lvl/fcm/dat since you can upload map files now
This commit is contained in:
parent
080659f7ca
commit
831e7cd142
@ -46,12 +46,10 @@ IMapImporter Map_FindImporter(const cc_string* path) {
|
||||
static const cc_string mine = String_FromConst(".mine");
|
||||
|
||||
if (String_CaselessEnds(path, &cw)) return Cw_Load;
|
||||
#ifndef CC_BUILD_WEB
|
||||
if (String_CaselessEnds(path, &lvl)) return Lvl_Load;
|
||||
if (String_CaselessEnds(path, &fcm)) return Fcm_Load;
|
||||
if (String_CaselessEnds(path, &dat)) return Dat_Load;
|
||||
if (String_CaselessEnds(path, &mine)) return Dat_Load;
|
||||
#endif
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user