Don't send same target body and target system, send just target system!

This commit is contained in:
norohind 2021-08-12 02:39:40 +03:00
parent f2d88e04da
commit 99c7a9c4f9
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

View File

@ -338,6 +338,10 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
try:
destination_body = entry["Body"]
if destination_system == destination_body:
raise KeyError
message.update_item(
item=0,
key="description",
@ -375,6 +379,10 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
try:
destination_body = entry["Body"]
if destination_system == destination_body:
raise KeyError
message.update_item(
item=0,
key="description",