Update docs/en/beamng/dev/modding/ui-apps.md

Co-authored-by: O1LER <44237025+O1LER@users.noreply.github.com>
This commit is contained in:
BoubouleTheCutestHamster 2025-01-15 14:55:55 +01:00 committed by O1LER
parent c917972a67
commit 68c5a7bffa

View File

@ -199,7 +199,7 @@ M.modifyMessage = modifyMessage
return M
```
Note that its very important to return the M (module) variable with the needed functions inside !
Note that its very important to return the M (module) variable with the needed functions inside!
Example, without the ``M.modifyMessage = modifyMessage`` line, the ``bngApi.engineLua('extensions.exampleMod.modifyMessage("' + $scope.message + '")')`` function will not be able to find the modifyMessage() function