Refactor simulation action handlers: consolidate action handling, enhance spawn logic, and improve type definitions for actions.
This commit is contained in:
@@ -28,6 +28,4 @@ export default async function setCameraView({
|
||||
controls?.setLookAt(...newPosition.toArray(), newPosition.x, 0, newPosition.z, true);
|
||||
}
|
||||
|
||||
// Optionally you can log
|
||||
console.log(`Camera view updated by ${username ?? 'unknown user'}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user