mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fix entry type in C# example for loading savegames (#4850)
This commit is contained in:
committed by
Hugo Locurcio
parent
92e55d4b81
commit
c8e3b8417d
@@ -277,7 +277,7 @@ load function:
|
||||
newObject.Set("Position", new Vector2((float)nodeData["PosX"], (float)nodeData["PosY"]));
|
||||
|
||||
// Now we set the remaining variables.
|
||||
foreach (KeyValuePair<object, object> entry in nodeData)
|
||||
foreach (KeyValuePair<string, object> entry in nodeData)
|
||||
{
|
||||
string key = entry.Key.ToString();
|
||||
if (key == "Filename" || key == "Parent" || key == "PosX" || key == "PosY")
|
||||
|
||||
Reference in New Issue
Block a user