Transport Fever 2

Transport Fever 2

Asset Mega Pack
mcanguish May 7, 2020 @ 4:26am
Mega Asset pack Containers 2 produces game crash
Hi!

Last few games I tried to place some containers (Containers, roof pieces & awnings) from this modpack and had a CtD with the following error:
error: res/scripts/init.lua:64: creating globals by assignment is not allowed (variable was m1)
Did you forget to add 'local' before your variable?
stack traceback:
[C](-1): ?
[C](-1): error
res/scripts/init.lua(64): __newindex
[string "D:/ProgramFiles(x86)/Steam/steamapps/workshop..."](59): ?
res/config/base_config.lua(32): ?

I just wanted to ask, if
*) I am the only one with this problem
*) the author placed the m1 variable
*) there is any fix for this.

Regards
Nico
< >
Showing 1-1 of 1 comments
Quince99  [developer] Jul 18, 2020 @ 3:55am 
Nico - thanks for this info. I've only just noticed this as the vast majority of things in the mod have been stable for a long time now, even after the last major UG update. I haven't been able to duplicate a CtD and there have been no other reports of similar; perhaps people aren't using containers!

UPDATE: It was an 'm1' variable rather than an 'm' variable that is in every other .CON file. I've amended this and will test and check it works before updating later today.

Many thanks for spotting this!
Last edited by Quince99; Jul 18, 2020 @ 4:00am
< >
Showing 1-1 of 1 comments
Per page: 1530 50