dofile is only available in debug builds though. do not use it in files you 
want to check in.

On 07.07.2014, at 21:56, Tibor Bamhor <[email protected]> wrote:

> I dont know, perhaps some stupid  mistake on my side, however dofile worked 
> and it is fine for me...
> 
> 
> 2014-07-07 18:04 GMT+02:00 Holger Rapp <[email protected]>:
> 
> On 07.07.2014, at 09:37, Tibor Bamhor <[email protected]> wrote:
> 
>> Hi
>> 
>> It seem that syntax use("aux","script") is no longer working, with error:
>> 
>> [/var/widelands/tibor-ai3/src/scripting/lua_errors.h:29] [string 
>> "use("aux","caller_t")"]:1: attempt to call global 'use' (a nil value)
>> 
>> What should I use instead?
> 
> https://wl.widelands.org/docs/wl/autogen_globals/#include
> 
> grep for it, it is used all over the place in the Lua scripts.
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~widelands-dev
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~widelands-dev
> More help   : https://help.launchpad.net/ListHelp

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to