Committing the island generator script, and a bugfix
region_api.cpp had a bug, where a glue function's name was used twice. It was an easy catch, but there was an issue in the new script, where I was counting from 0 instead of 1. As a result, I was chasing a segfault for 5 hours.
This commit is contained in:
@@ -87,7 +87,7 @@ static int onUnload(lua_State* L) {
|
||||
|
||||
static const luaL_Reg regionLib[] = {
|
||||
{"SetTile",setTile},
|
||||
{"SetTile",getTile},
|
||||
{"GetTile",getTile},
|
||||
{"GetX",getX},
|
||||
{"GetY",getY},
|
||||
{"GetWidth",getWidth},
|
||||
|
||||
Reference in New Issue
Block a user