after merge fixes

This commit is contained in:
Mikhail Aristov 2024-01-27 13:58:26 +01:00
parent 7f18748659
commit 0c5a0ad84a
3 changed files with 30 additions and 30 deletions

View File

@ -27,7 +27,7 @@ func _process(delta):
func _on_joke_button_button_pressed(joke):
for body in transmitter_area.get_overlapping_bodies():
var person = body.find_parent("Person")
if not (person is Person):
if not (person is AudienceMember):
continue
person.on_joke(joke)

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://cl4fax7fbh2g7"]
[gd_scene load_steps=5 format=3 uid="uid://cl4fax7fbh2g7"]
[ext_resource type="Script" path="res://scenes/crowd/person.gd" id="1_mx0i8"]
[ext_resource type="Script" path="res://scenes/crowd/audience_profile.gd" id="2_bsodr"]

File diff suppressed because one or more lines are too long