Fixed VNDummy import missing

This commit is contained in:
2023-05-18 21:52:41 -07:00
parent 7a6731cc9e
commit 5619ce9824

View File

@ -169,6 +169,7 @@ void VNSceneGen::generate(
// Events
classInfo.includes.push_back("games/vn/components/VNManager.hpp");
classInfo.includes.push_back("games/vn/events/VNDummyEvent.hpp");
line(&methodInit.body, "auto vnItem = this->createSceneItem();", "");
line(&methodInit.body, "auto vnManager = vnItem->addComponent<VNManager>();", "");
line(&methodInit.body, "VNEvent *previous = vnManager->createEvent<VNDummyEvent>();", "");