mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-30 16:38:49 +01:00
Update fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 (
|
||||
@@ -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 (
|
||||
@@ -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 (
|
||||
@@ -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 (
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user