Browse Source

Fix typo in Custom Godot servers code sample (#5516)

Ayush Kashyap 3 years ago
parent
commit
db22c54572
1 changed files with 1 additions and 1 deletions
  1. 1 1
      development/cpp/custom_godot_servers.rst

+ 1 - 1
development/cpp/custom_godot_servers.rst

@@ -164,7 +164,7 @@ an initialization state and a cleanup procedure.
 	}
 
 	Variant HilbertHotel::get_bus_info(RID id) {
-		InfiniteBus *)bus = bus_owner.getornull(id);
+		InfiniteBus *bus = bus_owner.getornull(id);
 
 		if (bus) {
 			Dictionary d;