Page 1 of 1

Unit list issue

Posted: 06 Nov 2010, 17:46
by quantum
Unitsync is unable to get the unit list from The Cursed. This makes it impossible to use The Cursed with the mission editor or to restrict units in the lobby.

This can be fixed by changing line 64 in featuredefs_post.lua from this:

Code: Select all

if ( spGetModOptions().comm  == "sandbox" or spGetModOptions().comm  == "feature" ) then
to this:

Code: Select all

if (spGetModOptions and (spGetModOptions().comm  == "sandbox" or spGetModOptions().comm  == "feature")) then

Re: Unit list issue

Posted: 06 Nov 2010, 21:00
by azaremoth
I have included the change and uploaded the updated version 0.23: http://azaremoth.supremedesign.org/data/cursed_023.sdz

Thx for the infos. :-)

Re: Unit list issue

Posted: 06 Nov 2010, 21:11
by quantum
Yay works now!