mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Update certain example code snippets to use the new syntax
This commit is contained in:
committed by
Max Hilbrunner
parent
52d823115b
commit
050c9b94a9
@@ -483,7 +483,7 @@ Here is the GDScript sample code:
|
||||
|
||||
func _ready():
|
||||
print("Start debugging")
|
||||
HilbertHotel.connect("occupy_room", self, "_print_occupy_room")
|
||||
HilbertHotel.occupy_room.connect(_print_occupy_room)
|
||||
var rid = HilbertHotel.create_bus()
|
||||
OS.delay_msec(2000)
|
||||
HilbertHotel.create_bus()
|
||||
|
||||
Reference in New Issue
Block a user