Merge branch 'master' of https://gitlab.hexaquo.at/ggjg20/bodypartfighter
This commit is contained in:
commit
c470d84e2a
3 files changed
+17
-7
No files matched your search
@@ -61,7 +61,7 @@ func _switch_to_fighting(torso):
|
||||
|
||||
torso.global_transform.origin = Vector3.ZERO
|
||||
torso.translation += _body_positions[_body_count]
|
||||
torso.rotation = Vector3.ZERO
|
||||
torso.rotation = Vector3(90, 0, 0)
|
||||
|
||||
_body_count += 1
|
||||
if _body_count < InGameState.player_count:
|
||||
@@ -75,7 +75,10 @@ func _switch_to_fighting(torso):
|
||||
|
||||
for body in _bodies:
|
||||
_fighting_scene.add_child(body)
|
||||
body.on_ingame()
|
||||
|
||||
_fighting_scene.add_child(torso)
|
||||
torso.on_ingame()
|
||||
|
||||
|
||||
func _switch_to_body_build():
|
||||
|
||||
Reference in new issue
Block a user