about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--client/Archipelago/player.gd11
1 files changed, 9 insertions, 2 deletions
diff --git a/client/Archipelago/player.gd b/client/Archipelago/player.gd index 082aa64..46b5940 100644 --- a/client/Archipelago/player.gd +++ b/client/Archipelago/player.gd
@@ -21,9 +21,16 @@ func _ready():
21 locationListener.name = "locationListener_%d" % door.get_ap_id() 21 locationListener.name = "locationListener_%d" % door.get_ap_id()
22 22
23 for panel_ref in door.get_panels(): 23 for panel_ref in door.get_panels():
24 # TODO: specific answers
25 var panel_data = gamedata.objects.get_panels()[panel_ref.get_panel()] 24 var panel_data = gamedata.objects.get_panels()[panel_ref.get_panel()]
26 locationListener.senders.append(NodePath("/root/scene/" + panel_data.get_path())) 25 var panel_path = panel_data.get_path()
26
27 if panel_ref.has_answer():
28 for proxy in panel_data.get_proxies():
29 if proxy.get_answer() == panel_ref.get_answer():
30 panel_path = proxy.get_path()
31 break
32
33 locationListener.senders.append(NodePath("/root/scene/" + panel_path))
27 34
28 get_parent().add_child.call_deferred(locationListener) 35 get_parent().add_child.call_deferred(locationListener)
29 36
chenberger <fefferburbia@gmail.com> 2023-05-03 15:39:07 -0400 committer Star Rauchenberger <fefferburbia@gmail.com> 2023-05-03 15:39:07 -0400 Fixed crash after server disconnects' href='/lingo-ap-tracker/commit/ap_state.h?h=v0.4.5&id=f960478d05222fc54f466fc863983fcc3a5eaaeb'>f960478 ^
116ba41 ^

116ba41 ^


f960478 ^


08ffb40 ^
09d67fb ^
116ba41 ^
09d67fb ^
1ec2738 ^
09d67fb ^
08ffb40 ^
70f1c62 ^
1ec2738 ^
70f1c62 ^
dc4a143 ^


116ba41 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73