mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
fahhh
This commit is contained in:
@@ -27,7 +27,7 @@ template<>
|
||||
int Bridge<EventInstance>::on_index(const EventInstance& object, const char* name, lua_State *L)
|
||||
{
|
||||
// The pre-defined "connect()" method
|
||||
if (strcmp(name, "connect") == 0 || strcmp(name, "Connect") == 0)
|
||||
if (strcmp(name, "connect")==0)
|
||||
{
|
||||
lua_pushcfunction(L, EventBridge::connect);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user