Skip to content

Commit

Permalink
Corrected segfault when registering new biomes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetbomber authored and kahrl committed Jun 3, 2013
1 parent e988df0 commit 601ab85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/lua_api/luaapi.cpp
Expand Up @@ -178,9 +178,9 @@ int ModApiBasic::l_register_biome(lua_State *L)
b->flags = 0; //reserved
b->c_top = CONTENT_IGNORE;
b->c_filler = CONTENT_IGNORE;
verbosestream << "register_biome: " << b->name << std::endl;
bmgr->addBiome(b);

verbosestream << "register_biome: " << b->name << std::endl;
return 0;
}

Expand Down

0 comments on commit 601ab85

Please sign in to comment.