forked from mtcontrib/maidroid
Fix core writer
This commit is contained in:
parent
e469bccfdb
commit
eea07b64af
@ -44,13 +44,13 @@ do -- register core writer
|
|||||||
.. "list[current_player;main;0,5;8,1;]"
|
.. "list[current_player;main;0,5;8,1;]"
|
||||||
.. "list[current_player;main;0,6.2;8,3;8]",
|
.. "list[current_player;main;0,6.2;8,3;8]",
|
||||||
|
|
||||||
["active"] = function(t)
|
["active"] = function(time)
|
||||||
local arrow_percent = (100 / 40) * writing_time
|
local arrow_percent = (100 / 40) * time
|
||||||
local merter_percent = 0
|
local merter_percent = 0
|
||||||
if writing_time % 16 >= 8 then
|
if time % 16 >= 8 then
|
||||||
meter_percent = (8 - (writing_time % 8)) * (100 / 8)
|
meter_percent = (8 - (time % 8)) * (100 / 8)
|
||||||
else
|
else
|
||||||
meter_percent = (writing_time % 8) * (100 / 8)
|
meter_percent = (time % 8) * (100 / 8)
|
||||||
end
|
end
|
||||||
return "size[8,9]"
|
return "size[8,9]"
|
||||||
.. default.gui_bg
|
.. default.gui_bg
|
||||||
|
Loading…
Reference in New Issue
Block a user