mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 12:08:55 +01:00
Fixes being unable to orbit player entities from the Orbit menu (#52134)
* Fix incorrect keys. * Rebuild tgui
This commit is contained in:
@@ -61,7 +61,7 @@ const OrbitedButton = (props, context) => {
|
||||
<Button
|
||||
color={color}
|
||||
onClick={() => act("orbit", {
|
||||
name: thing.ref,
|
||||
ref: thing.ref,
|
||||
})}>
|
||||
{thing.name}
|
||||
{thing.orbiters && (
|
||||
@@ -113,7 +113,7 @@ export const Orbit = (props, context) => {
|
||||
.filter(searchFor(searchText))
|
||||
.sort(compareNumberedText)[0];
|
||||
if (member !== undefined) {
|
||||
act("orbit", { name: member.ref });
|
||||
act("orbit", { ref: member.ref });
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user