mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Fix second argument missing default value in _init declaration
This commit is contained in:
@@ -972,7 +972,7 @@ This is better explained through examples. Say we have this scenario:
|
||||
# Idle.gd (inheriting class)
|
||||
extends "State.gd"
|
||||
|
||||
func _init(e=null, m).(e):
|
||||
func _init(e=null, m=null).(e):
|
||||
# do something with e
|
||||
message = m
|
||||
|
||||
|
||||
Reference in New Issue
Block a user