diff --git a/scenes/работа/работа.tscn b/scenes/работа/работа.tscn index 8d9c5f26..0759e92e 100644 --- a/scenes/работа/работа.tscn +++ b/scenes/работа/работа.tscn @@ -389,8 +389,8 @@ texture_normal = ExtResource("14_ggrwd") [connection signal="toggled" from="btn_activate" to="." method="on_btn_activate_toggled"] [connection signal="toggled" from="btn_center" to="." method="on_btn_center_toggled"] [connection signal="button_down" from="zoom_plus" to="tilemap" method="_on_zoom_plus_button_down"] -[connection signal="button_up" from="zoom_plus" to="tilemap" method="_on_zoom_button_up"] [connection signal="button_up" from="zoom_plus" to="tilemap" method="_on_zoom_plus_button_up"] +[connection signal="button_up" from="zoom_plus" to="tilemap" method="_on_zoom_button_up"] [connection signal="button_down" from="zoom_minus" to="tilemap" method="_on_zoom_minus_button_down"] [connection signal="button_up" from="zoom_minus" to="tilemap" method="_on_zoom_button_up"] [connection signal="pressed" from="btn_all_work" to="." method="_on_btn_all_work_pressed"] diff --git a/scripts/threats.gd b/scripts/threats.gd index f4d34d5e..0805975d 100644 --- a/scripts/threats.gd +++ b/scripts/threats.gd @@ -152,7 +152,7 @@ func on_data_capsrpb_received(unit: capsrpb.CapsRpb, threats: Dictionary): if not unit.json_dic.has('sa'): return var mis = unit.json_dic['mis'] - bpo_mode_rx = int(unit.json_dic['sa']) + bpo_mode_rx = int(unit.json_dic['sa']) as AFSP_BPO_MODE var sz: = threats.size() for dic_th in mis: if dic_th is not Dictionary: