removed testing stuff
This commit is contained in:
parent
ba6aee1c91
commit
d1e0551874
@ -8,11 +8,6 @@ var _body_build_scene
|
||||
var _fighting_scene
|
||||
var _win_screen_scene
|
||||
|
||||
#test
|
||||
var test = 0
|
||||
var tested = false
|
||||
signal player_win()
|
||||
|
||||
func _ready():
|
||||
_prep_scene("body_build")
|
||||
_prep_scene("fight_scene")
|
||||
@ -59,19 +54,9 @@ func _switch_to_win(player_id):
|
||||
|
||||
|
||||
func _switch_to_fighting():
|
||||
test = 0
|
||||
tested = false
|
||||
|
||||
_switch_scene(_fighting_scene, "fight_scene")
|
||||
|
||||
|
||||
func _switch_to_body_build():
|
||||
_switch_scene(_body_build_scene, "body_build")
|
||||
|
||||
func _process(delta):
|
||||
if not tested:
|
||||
test += delta
|
||||
if test > 3:
|
||||
print("test2")
|
||||
tested = true
|
||||
emit_signal("player_win", 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user