mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2025-10-21 19:30:35 +00:00
Added something
This commit is contained in:
parent
d542c495e2
commit
c25a45ecfb
@ -87,4 +87,6 @@ func instance_node(node: Object, parent: Object) -> Object:
|
|||||||
|
|
||||||
|
|
||||||
func _process(delta):
|
func _process(delta):
|
||||||
|
if alive_players.size() > 1:
|
||||||
|
pass
|
||||||
print(alive_players)
|
print(alive_players)
|
||||||
|
|||||||
@ -11,6 +11,6 @@ func _ready() -> void:
|
|||||||
|
|
||||||
func _process(_delta: float) -> void:
|
func _process(_delta: float) -> void:
|
||||||
# print(Global.alive_players.size())
|
# print(Global.alive_players.size())
|
||||||
if Global.alive_players.size() <= 0 and get_tree().has_network_peer():
|
if Global.alive_players.size() <= 1 and get_tree().has_network_peer():
|
||||||
if Global.alive_players[0].name == str(get_tree().get_network_unique_id()):
|
if Global.alive_players[1].name == str(get_tree().get_network_unique_id()):
|
||||||
lose_screen.show()
|
lose_screen.show()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user