Sync
This commit is contained in:
@@ -15,7 +15,7 @@ class Event:
|
|||||||
listening.remove_at(listening.find(callback))
|
listening.remove_at(listening.find(callback))
|
||||||
|
|
||||||
func listen(callback: LuaFunction) -> void:
|
func listen(callback: LuaFunction) -> void:
|
||||||
|
pass
|
||||||
|
|
||||||
func fire() -> void:
|
func fire() -> void:
|
||||||
for i in range(listening.size()):
|
for i in range(listening.size()):
|
||||||
@@ -37,8 +37,6 @@ func setup() -> void:
|
|||||||
LuaState.Library.LUA_UTF8 |
|
LuaState.Library.LUA_UTF8 |
|
||||||
LuaState.Library.LUA_TABLE
|
LuaState.Library.LUA_TABLE
|
||||||
)
|
)
|
||||||
|
|
||||||
lua.globals.add_user_signal()
|
|
||||||
|
|
||||||
func register_script(script: ConScript) -> void:
|
func register_script(script: ConScript) -> void:
|
||||||
lua.do_string(script.source)
|
lua.do_string(script.source)
|
||||||
|
|||||||
Reference in New Issue
Block a user