fix metadata for mods with .nilmod
extension
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
This commit is contained in:
parent
256fc322a8
commit
7973b01e81
@ -37,6 +37,9 @@ void Resource::parseFile()
|
||||
if (file_name.endsWith(".zip") || file_name.endsWith(".jar")) {
|
||||
m_type = ResourceType::ZIPFILE;
|
||||
file_name.chop(4);
|
||||
} else if (file_name.endsWith(".nilmod")) {
|
||||
m_type = ResourceType::ZIPFILE;
|
||||
file_name.chop(7);
|
||||
} else if (file_name.endsWith(".litemod")) {
|
||||
m_type = ResourceType::LITEMOD;
|
||||
file_name.chop(8);
|
||||
|
Loading…
Reference in New Issue
Block a user