File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
LuaSTGNode.Legacy/EditorData/Node/Audio Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public override IEnumerable<string> ToLua(int spacing)
7171 {
7272 if ( ! string . IsNullOrEmpty ( Macrolize ( 2 ) ) )
7373 {
74- s = sp + "if " + Macrolize ( 2 ) + " then ex.stageframe=int(" + Macrolize ( 1 ) + "/ 60) end\n " ;
74+ s = sp + "if " + Macrolize ( 2 ) + " then ex.stageframe=int(" + Macrolize ( 1 ) + "* 60) end\n " ;
7575 }
7676 yield return sp + "LoadMusicRecord(" + Macrolize ( 0 ) + ")\n "
7777 + sp + "_play_music(" + Macrolize ( 0 ) + "," + Macrolize ( 1 ) + ")\n " + s ;
@@ -95,7 +95,7 @@ public override string ToString()
9595 string s = "" ;
9696 if ( ! string . IsNullOrEmpty ( NonMacrolize ( 1 ) ) )
9797 {
98- s = ", start from " + NonMacrolize ( 1 ) + " frame (s)" ;
98+ s = ", start from " + NonMacrolize ( 1 ) + " second (s)" ;
9999 }
100100 return "Play background music " + NonMacrolize ( 0 ) + s ;
101101 }
You can’t perform that action at this time.
0 commit comments