Fixed names for a better traceability of code errors with orignal code lesson. End of lesson 25. Player is moving on the map viewport!
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
extends Node
|
||||
|
||||
var defaultMapPath:String = "res://scenes/game/maps/world_map.tscn"
|
||||
var startMap:String = "res://scenes/game/maps/world_map.tscn"
|
||||
|
||||
var currentMapPath
|
||||
var currentMap:String
|
||||
|
||||
func startNewGame():
|
||||
currentMapPath = defaultMapPath
|
||||
currentMap = startMap
|
||||
|
||||
Reference in New Issue
Block a user