Update mods array to raw.mods in farmingsimulator.js
This commit is contained in:
parent
41971d93e1
commit
c337aab2a9
|
@ -35,10 +35,10 @@ export default class farmingsimulator extends Core {
|
|||
}
|
||||
});
|
||||
|
||||
state.mods = [];
|
||||
state.raw.mods = [];
|
||||
$('Mod').each(function () {
|
||||
if ($(this).attr('name') !== undefined) {
|
||||
state.mods.push({
|
||||
state.raw.mods.push({
|
||||
name: $(this).text(),
|
||||
short_name: $(this).attr('name'),
|
||||
author: $(this).attr('author'),
|
||||
|
|
Loading…
Reference in New Issue