idk
Some checks failed
Build Dusk / run-tests (push) Successful in 1m57s
Build Dusk / build-linux (push) Successful in 2m9s
Build Dusk / build-psp (push) Failing after 1m39s

This commit is contained in:
2026-01-26 22:54:05 -06:00
parent d1b03c4cb3
commit 81b08b2eba
19 changed files with 179 additions and 276 deletions

View File

@@ -50,9 +50,9 @@ void moduleInput(scriptcontext_t *context) {
// Set input information
for(inputaction_t act = INPUT_ACTION_NULL + 1; act < INPUT_ACTION_COUNT; act++) {
const char_t *actName = INPUT_ACTION_NAMES[act];
assertStrLenMax(actName, 64, "Input action name too long for buffer");
snprintf(buffer, sizeof(buffer), "INPUT_ACTION_%s = %d\n", actName, act);
const char_t *actId = INPUT_ACTION_IDS[act];
assertStrLenMax(actId, 64, "Input action name too long for buffer");
snprintf(buffer, sizeof(buffer), "INPUT_ACTION_%s = %d\n", actId, act);
scriptContextExec(context, buffer);
}