Skip to content

Commit

Permalink
Update fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
izac112 committed Dec 28, 2023
1 parent 6fa944c commit 08c1ce9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/Phorochem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { Button, LabeledList, ProgressBar, Section } from '../components';
import { useBackend } from '../backend';
import { Window } from '../layouts';

export const Phorochem = (props, context) => {
const { act, data } = useBackend(context);
export const Phorochem = (props) => {
const { act, data } = useBackend();
const { intensity, phoron, message, timeLeft, timeLeftMax } = data;
return (
<Window width={425} height={270} resizable>
Expand Down
16 changes: 8 additions & 8 deletions tgui/packages/tgui/interfaces/PrecisionEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { useBackend } from '../backend';
import { Button, LabeledList, Section, ColorBox, NoticeBox, Box } from '../components';
import { Window } from '../layouts';

export const PrecisionEditor = (props, context) => {
const { act, data } = useBackend(context);
export const PrecisionEditor = (props) => {
const { act, data } = useBackend();
// Extract `health` and `color` variables from the `data` object.
const { screenstate } = data;
return (
Expand All @@ -19,8 +19,8 @@ export const PrecisionEditor = (props, context) => {
);
};

const SeedStatus = (props, context) => {
const { act, data } = useBackend(context);
const SeedStatus = (props) => {
const { act, data } = useBackend();
const { health, plantcolor, fruitcolor, chems, seedname } = data;

return (
Expand Down Expand Up @@ -71,8 +71,8 @@ const SeedStatus = (props, context) => {
);
};

const ColorEditor = (props, context) => {
const { act, data } = useBackend(context);
const ColorEditor = (props) => {
const { act, data } = useBackend();
const { plantcolor, fruitcolor } = data;

return (
Expand All @@ -98,8 +98,8 @@ const ColorEditor = (props, context) => {
);
};

const BiochemEditor = (props, context) => {
const { act, data } = useBackend(context);
const BiochemEditor = (props) => {
const { act, data } = useBackend();
const { beakerchems, health } = data;

return (
Expand Down
1 change: 0 additions & 1 deletion vorestation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -4419,7 +4419,6 @@
#include "maps\expedition_vr\beach\submaps\mountains.dm"
#include "maps\expedition_vr\beach\submaps\mountains_areas.dm"
#include "maps\gateway_archive_vr\blackmarketpackers.dm"
#include "maps\groundbase\groundbase.dm"
#include "maps\redgate\fantasy_items.dm"
#include "maps\southern_cross\items\clothing\sc_accessory.dm"
#include "maps\southern_cross\items\clothing\sc_suit.dm"
Expand Down

0 comments on commit 08c1ce9

Please sign in to comment.