Pass lua source directly into event_init
This commit is contained in:
@@ -444,8 +444,7 @@ void DrivenEngine::drv_get_animation_queues(uint32_t count, const int64_t *ids,
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void DrivenEngine::drv_initialize(uint32_t srcpklen, const char *srcpk, int argc, char **argv) {
|
||||
drv_set_lua_source_pack(srcpklen, srcpk);
|
||||
event_init(argc, argv);
|
||||
event_init(std::string_view(srcpk, srcpklen), argc, argv);
|
||||
}
|
||||
|
||||
void DrivenEngine::drv_clear_new_outgoing() {
|
||||
|
||||
Reference in New Issue
Block a user