My workshop mod doesn't work

I converted my WUTE mod to the Workshop format. For some reason, GDT says it has an error when I actually use it (as a workshop mod). Anyone care to take a look at it?

Here are its files: https://www.mediafire.com/?4t0qlxj5bkd87l7

(or get it from the workshop)

“I converted my WUTE mod to the Workshop format.”

@wimali Both ’ characters in loadJs are wrong
replace 2nd line in main.js with this:
GDT.loadJs([‘main.js’]);

2 Likes

I meant did you do it correctly xD

Thank you for the quick response. I did this, but it still doesn’t work.

Maybe this error message will help:

Error Uncaught error. Please report this to support@greenheartgames.com: Uncaught SyntaxError: Unexpected token ILLEGAL (file:///D:/SteamLibrary/SteamApps/common/Game%20Dev%20Tycoon/mods_ws/158174259_WUTE/main.js:8) Please restart the game.

I guess you use an editor which is doing autoconversions on >’< characters.

1 Like

I’m using Notepad++. No idea why it would do that, I’ll edit it with just notepad and see if that works.

EDIT: It does not.

I’ve subscribed to your mod and the current version which is in steam workshop doesn’t generate an error. (Could you unsubscribe and subscribe again?)

1 Like

The main.js which I got when subscribing to your mod has only 5 lines. (Your error message mentions line 8) So it seems that we are talking about different versions.

1 Like

I agree, could you paste your main.js here? We can help you

I deleted the WUTE folder in my mods_ws folder and now it works perfectly after it re-downloaded the files. Weird- Seems like it didn’t automatically re-download when I released an update. Thank you for your help, you’re amazing!

1 Like

Since it works, it’s ok. If you encounter any other problems, write em here.