Fixes being unable to orbit player entities from the Orbit menu (#52134)

* Fix incorrect keys.

* Rebuild tgui
This commit is contained in:
Timberpoes
2020-07-10 20:11:21 +02:00
committed by GitHub
parent 94fa396e15
commit e8ec4e7876
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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