Fix player 1 always losing

This commit is contained in:
karl 2020-02-02 16:37:27 +01:00
parent 91b3363de1
commit 0fa666e9a2
2 changed files with 6 additions and 2 deletions

View File

@ -50,6 +50,8 @@ func _ready():
_torso.get_node("Head").key = KEY_C _torso.get_node("Head").key = KEY_C
_torso.player_id = 0
func change_count_ui(): func change_count_ui():
if done_player_count == null: if done_player_count == null:
@ -71,6 +73,8 @@ func change_count_ui():
_torso.get_node("Head").key = KEY_M _torso.get_node("Head").key = KEY_M
_torso.player_id = 1
func _process(delta): func _process(delta):
# TODO: Would be nicer to just disable gravity, but then it can't be re-enabled... # TODO: Would be nicer to just disable gravity, but then it can't be re-enabled...

View File

@ -499,7 +499,7 @@ rotation_mode = 4
transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0 ) transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0 )
[node name="PathFollow3" type="PathFollow" parent="Path"] [node name="PathFollow3" type="PathFollow" parent="Path"]
transform = Transform( 0.0525302, 0, 0.998617, 0, 1, 0, -0.998619, 0, 0.05253, 1.77306, 0, -55.9514 ) transform = Transform( 0.0525302, 0, 0.998616, 0, 1, 0, -0.998619, 0, 0.05253, 1.77306, 0, -55.9514 )
offset = 57.5 offset = 57.5
rotation_mode = 4 rotation_mode = 4
@ -603,7 +603,7 @@ rotation_mode = 4
transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0 ) transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0 )
[node name="PathFollow16" type="PathFollow" parent="Path"] [node name="PathFollow16" type="PathFollow" parent="Path"]
transform = Transform( -0.999998, 4.26235e-07, -0.00197735, 4.26236e-07, 1, 0, 0.00197735, -8.42818e-10, -0.999997, -65.6734, 0, -1.33537 ) transform = Transform( -0.999998, 4.26235e-07, -0.00197735, 4.26236e-07, 1, 0, 0.00197735, -8.42818e-10, -0.999998, -65.6734, 0, -1.33537 )
offset = 380.81 offset = 380.81
rotation_mode = 4 rotation_mode = 4