File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -532,12 +532,12 @@ local function iterate()
532532 local max = Players .Current == Players .Max and Scroller .NONE or Scroller .RIGHT
533533 GUITexts = {}
534534 GUITexts .player = string.format (
535- " %sPLAYER %d %s\n " ..
535+ " %sPLAYER %s %s\n " ..
536536 " X: %.6f\n Y: %.6f\n Z: %.2f\n " ..
537537 " distX: %.6f\n distY: %.6f\n distZ: %.2f\n " ..
538538 " momX: %.6f\n momY: %.6f\n " ..
539539 " distM: %.6f\n dirM: %.6f\n angle: %d\n " ,
540- min , Players .Current , max ,
540+ min , Players .Min ~= Players . Max and Players . Current or " " , max ,
541541 player .x ,
542542 player .y ,
543543 player .z ,
@@ -709,11 +709,10 @@ while true do
709709 end
710710
711711 -- workaround: prevent multiple execution per frame because of emu.yield(), except when paused
712- if (Framecount ~= LastFramecount or paused )
713- and Globals .gamestate == GameState .LEVEL
714- and emu .framecount () > 0
715- then
716- iterate ()
712+ if (Framecount ~= LastFramecount or paused ) then
713+ if Globals .gamestate == GameState .LEVEL and emu .framecount () > 0 then
714+ iterate ()
715+ end
717716 LastMouse .left = Mouse .Left
718717 end
719718
You can’t perform that action at this time.
0 commit comments