Skip to content

Game crashes if I try to start challenge with new files #129

@mgtaboada

Description

@mgtaboada

Hello, I have just finished to write my first ai but when I try to start a challenge with its file, I get the follownig error:

Error: table: 0x406503d8
stack traceback:
	[C]: in function 'error'
	Scripts/ai.lua:43: in function <Scripts/ai.lua:35>
	Scripts/misc.lua:406: in function 'myRandom'
	Scripts/mapUtils.lua:869: in function 'renderMap'
	Scripts/map.lua:1268: in function 'render'
	Scripts/map.lua:408: in function 'generate'
	main.lua:617: in function 'update'
	[string "boot.lua"]:464: in function <[string "boot.lua"]:436>
	[C]: in function 'xpcall'

I suppose it's my code's fault, but I don't know why

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions