small fix
This commit is contained in:
parent
cd803751d9
commit
abb74e63c5
Binary file not shown.
|
@ -53,7 +53,7 @@ program main
|
||||||
call me%sync_camera(camera)
|
call me%sync_camera(camera)
|
||||||
|
|
||||||
time = get_time()
|
time = get_time()
|
||||||
if (modulo(time, 1.0) .ge. 0.58_c_double) then
|
if (modulo(time, 1.0) .ge. 0.98_c_double) then
|
||||||
if (player_updated) then
|
if (player_updated) then
|
||||||
players = me%move()
|
players = me%move()
|
||||||
else
|
else
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
fpm install --flag '-fno-range-check'
|
|
@ -107,7 +107,7 @@ contains
|
||||||
|
|
||||||
call json%add(user, 'username', local_username)
|
call json%add(user, 'username', local_username)
|
||||||
call json%add(user, 'x_pos', this%position%x)
|
call json%add(user, 'x_pos', this%position%x)
|
||||||
call json%add(user, 'y_pos', this%position%y)
|
call json%add(user, 'y_pos', this%position%z)
|
||||||
call json%add(user, 'command', request_type)
|
call json%add(user, 'command', request_type)
|
||||||
|
|
||||||
call json%add(root, user)
|
call json%add(root, user)
|
||||||
|
@ -167,7 +167,7 @@ contains
|
||||||
if (request_type .eq. 1) then
|
if (request_type .eq. 1) then
|
||||||
print *, 'login, setting pos'
|
print *, 'login, setting pos'
|
||||||
this%position%x = x_pos
|
this%position%x = x_pos
|
||||||
this%position%y = y_pos
|
this%position%z = y_pos
|
||||||
print *, x_pos, y_pos
|
print *, x_pos, y_pos
|
||||||
|
|
||||||
print *, 'login, setting apperance'
|
print *, 'login, setting apperance'
|
||||||
|
|
Loading…
Reference in New Issue