forked from github/server
Merge pull request #57 from badgerman/master
fix missing get_faction binding, add faction.get()
This commit is contained in:
commit
8553d9e610
|
@ -519,8 +519,9 @@ void tolua_faction_open(lua_State * L)
|
||||||
tolua_module(L, NULL, 0);
|
tolua_module(L, NULL, 0);
|
||||||
tolua_beginmodule(L, NULL);
|
tolua_beginmodule(L, NULL);
|
||||||
{
|
{
|
||||||
tolua_beginmodule(L, TOLUA_CAST "eressea");
|
|
||||||
tolua_function(L, TOLUA_CAST "get_faction", tolua_faction_get);
|
tolua_function(L, TOLUA_CAST "get_faction", tolua_faction_get);
|
||||||
|
tolua_beginmodule(L, TOLUA_CAST "eressea");
|
||||||
|
tolua_function(L, TOLUA_CAST "faction", tolua_faction_get);
|
||||||
tolua_endmodule(L);
|
tolua_endmodule(L);
|
||||||
tolua_cclass(L, TOLUA_CAST "faction", TOLUA_CAST "faction", TOLUA_CAST "",
|
tolua_cclass(L, TOLUA_CAST "faction", TOLUA_CAST "faction", TOLUA_CAST "",
|
||||||
NULL);
|
NULL);
|
||||||
|
|
Loading…
Reference in New Issue