Update mods array to raw.mods in farmingsimulator.js

This commit is contained in:
Vito0912 2024-02-01 21:48:35 +01:00
parent 41971d93e1
commit c337aab2a9
No known key found for this signature in database
GPG Key ID: 29A3D509FE70B237
1 changed files with 2 additions and 2 deletions

View File

@ -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'),