Skip to content

Commit

Permalink
Project ARES: Fixes deleting flight logs. (#6186)
Browse files Browse the repository at this point in the history
# About the pull request

As title says, this lets you delete flight logs as intended.

# Explain why it's good for the game

Bugs are bad.

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog

:cl:
fix: You can delete flight logs from ARES Interface again as intended.
/:cl:
  • Loading branch information
realforest2001 authored Apr 24, 2024
1 parent e58c905 commit 6bec1dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions code/game/machinery/ARES/ARES_interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,10 @@
new_title = "[record.title] at [record.time]"
new_details = record.details
datacore.records_tech -= record
if(ARES_RECORD_FLIGHT)
new_title = "[record.title] at [record.time]"
new_details = record.details
datacore.records_flight -= record

new_delete.details = new_details
new_delete.user = last_login
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/AresInterface.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const Login = (props) => {
<Box mb="2rem" fontFamily="monospace">
WY-DOS Executive
</Box>
<Box fontFamily="monospace">Version 8.2.3</Box>
<Box fontFamily="monospace">Version 8.3.4</Box>
<Box fontFamily="monospace">Copyright © 2182, Weyland Yutani Corp.</Box>

<Button
Expand Down

0 comments on commit 6bec1dd

Please sign in to comment.