Fix hookPreGetLayerNo not writing the layerNo

This commit is contained in:
Luke Street
2026-08-21 15:46:29 -06:00
parent 3869ac6423
commit 0b26cee96d
+1
View File
@@ -1397,6 +1397,7 @@ HookAction hookPreGetLayerNo(ModContext*, void* args, void* retval, void*) {
}
}
*static_cast<int*>(retval) = layer;
return HOOK_SKIP_ORIGINAL;
}