Add struct metafield
Some checks failed
Build Dusk / run-tests (push) Failing after 1m55s
Build Dusk / build-linux (push) Successful in 1m58s
Build Dusk / build-psp (push) Failing after 1m26s

This commit is contained in:
2026-01-27 21:16:53 -06:00
parent 6e78ee188d
commit cc85983736
10 changed files with 314 additions and 19 deletions

View File

@@ -43,8 +43,9 @@ end
-- mapLoad('map/testmap/testmap.dmf')
localeSet(DUSK_LOCALE_EN_US)
function eventTest()
print("Event system is working!")
function eventTest(data)
print("Pressed")
data.action = 2
end
eventSubscribe(EVENT_TEST, eventTest)
eventSubscribe(INPUT_EVENT_PRESSED, eventTest)