mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-24 00:23:12 +09:00
Fix broken link to modules/clusterio/api.lua
Fix broken link to in docs/developing-for-clusterio.md to modules/clusterio/api.lua.
This commit is contained in:
1 parent
5e5149dc93
commit
557d380112
1 file changed
+4
-4
@@ -260,10 +260,10 @@ section.
|
|||||||
There's a builtin clusterio module that provides some tools for getting
|
There's a builtin clusterio module that provides some tools for getting
|
||||||
instance info and communicating to plugins, script events to listen for
|
instance info and communicating to plugins, script events to listen for
|
||||||
and a Factorio remote call API. The available interfaces is documented
|
and a Factorio remote call API. The available interfaces is documented
|
||||||
in [modules/clusterio/api.lua](modules/clusterio/api.lua). To use this
|
in [modules/clusterio/api.lua](../modules/clusterio/api.lua). To use
|
||||||
API from another module, require it using something along the lines of
|
this API from another module, require it using something along the lines
|
||||||
`local clusterio_api = require("modules/clusterio/api")`. Make sure to
|
of `local clusterio_api = require("modules/clusterio/api")`. Make sure
|
||||||
add `clusterio` as a dependency in your module.json if you use the
|
to add `clusterio` as a dependency in your module.json if you use the
|
||||||
dependency entry in it.
|
dependency entry in it.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user