Skip to content

Commit

Permalink
fix bug when interacting with a player (G key)
Browse files Browse the repository at this point in the history
  • Loading branch information
harlandpro committed Aug 23, 2023
1 parent afd1f33 commit 721aa9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src_client/player/render.js
@@ -1,4 +1,4 @@
global.entity = null;
global.entity = null;
global.nearestObject = null;
global.boosted = false;

Expand Down Expand Up @@ -491,10 +491,12 @@ gm.events.add("render", () => {

//

/*
if (global.circleOpen) {
global.UpdateCircle (global.entity);
return;
}
*/

if (global.entity) {
const type = global.entity.type;
Expand Down

0 comments on commit 721aa9f

Please sign in to comment.