Update 'scripts/global.gd'

This commit is contained in:
Paul Black 2023-07-04 05:21:16 +00:00
parent f0e10a273a
commit 38a6ad0d3f

View file

@ -53,7 +53,7 @@ var tutorialTimerCompleted = false # Used for after the timer goes off in the tu
var playerDisable = false # Can be used to disable the player var playerDisable = false # Can be used to disable the player
var playerDeathHealth = 100 # Can be changed by death.gd var playerDeathHealth = 100 # Can be changed by death.gd
var kickAllPlayers = false # Can be set to true to kick all players in-game var kickAllPlayers = false # Can be set to true to kick all players in-game
var respawnLocationChosen = true # When set to false, the game will be allowed to select a spawnpoint for the player var respawnLocationChosen = false # When set to false, the game will be allowed to select a spawnpoint for the player
func _process(delta): func _process(delta):
spawn_locations() spawn_locations()
@ -126,7 +126,7 @@ func reset_variables_hard():
playerDisable = false playerDisable = false
playerDeathHealth = 100 playerDeathHealth = 100
kickAllPlayers = false kickAllPlayers = false
respawnLocationChosen = true respawnLocationChosen = false
func save_data(): func save_data():
SettingsFile.save_data() SettingsFile.save_data()