mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix game issue
This commit is contained in:
parent
f19fda88a9
commit
961b357965
@ -222,6 +222,7 @@ define([
|
||||
$(window).on('keyup', APP.onKeyUp);
|
||||
};
|
||||
let initCharacter = () => {
|
||||
if (me.id) { return; }
|
||||
let config = Util.find(sharedContent, ['config','values']) || DEFAULT;
|
||||
me.x = Math.floor(config.x/2);
|
||||
me.y = Math.floor(config.y/2);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user