← Back to team overview

widelands-dev team mailing list archive

Re: lua / use error

 

Try the following instead of the use:

include "scripting/infrastructure.lua"



15/07/2014 08:42, sgrìobh Tibor Bamhor:
> Hi,
> 
> quick question
> 
> I compiled a trunk from yesterday and when running the game I am getting
> this error:
> 
> Game data error
> reading basic info for tribe "atlanteans":
> [/var/widelands/tibor-ai5/src/scripting/lua_errors.h:29] [string
> "tribes/atlanteans/scripting/sc00_headquarters..."]:5: attempt to call
> global 'use' (a nil value)
> 
> I tried to find the occurrence of the 'use' everywhere but with no result
> 
> How can I quickly get rid of this error?
> 
> Tibor
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~widelands-dev
> Post to     : widelands-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~widelands-dev
> More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 2014.0.4716 / Virus Database: 3986/7855 - Release Date: 07/15/14
> 


Follow ups

References