Skip to content

Commit db46843

Browse files
committed
example of embedding of the module into the game following new suggested global setup [https://trello.com/c/FVpNVJW3/]
1 parent 2ad0a56 commit db46843

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

readme.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
customCommands 3.1.0
1+
customCommands 4.0.0
22
===
33

44
This module allows you to
@@ -11,7 +11,8 @@ This module allows you to
1111

1212
Important compatibility notes
1313
---
14-
14+
15+
* since 4.0.0 the default expected path of ingame modules is ./modules.lua
1516
* since 3.1.x should provide tools to be robust on units sharing
1617

1718

@@ -29,7 +30,7 @@ Mandatory to access the API of custom commands module
2930

3031
```
3132
-- get madatory module operators
32-
VFS.Include("LuaRules/modules.lua") -- modules table
33+
VFS.Include("modules.lua") -- modules table
3334
VFS.Include(modules.attach.data.path .. modules.attach.data.head) -- attach lib module
3435
3536
-- get other madatory dependencies

0 commit comments

Comments
 (0)