mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix: selection update latency
This commit is contained in:
parent
2e7c0a109d
commit
e014931e1e
2 changed files with 2 additions and 3 deletions
|
|
@ -140,7 +140,6 @@ void Player::updateSelectedEntity() {
|
|||
selectedEid = selection.entity;
|
||||
}
|
||||
|
||||
#include "../window/Window.hpp"
|
||||
void Player::postUpdate() {
|
||||
auto entity = level->entities->get(eid);
|
||||
if (!entity.has_value()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue