mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Update config example function signature
The previous example caused godot to display the following warning: `Warning: module 'module' uses a deprecated 'can_build' signature in its config.py file, it should be 'can_build(env, platform)'.`
This commit is contained in:
@@ -199,7 +199,7 @@ python script that must be named ``config.py``:
|
||||
|
||||
# config.py
|
||||
|
||||
def can_build(platform):
|
||||
def can_build(env, platform):
|
||||
return True
|
||||
|
||||
def configure(env):
|
||||
|
||||
Reference in New Issue
Block a user