File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Themes/Til Death/BGAnimations/ScreenGameplay overlay
src/Etterna/Screen/Gameplay Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -948,7 +948,7 @@ local function duminput(event)
948
948
MESSAGEMAN :Broadcast (" MouseRightClick" )
949
949
elseif event .DeviceInput .button == " DeviceButton_backspace" and event .type == " InputEventType_FirstPress" then
950
950
if bookmarkPosition ~= nil then
951
- SCREENMAN :GetTopScreen ():SetSongPosition (bookmarkPosition )
951
+ SCREENMAN :GetTopScreen ():SetSongPosition (bookmarkPosition , 1 )
952
952
end
953
953
elseif event .button == " EffectUp" and event .type == " InputEventType_FirstPress" then
954
954
SCREENMAN :GetTopScreen ():AddToRate (0.05 )
@@ -1047,7 +1047,7 @@ pm[#pm + 1] =
1047
1047
end ,
1048
1048
MouseLeftClickMessageCommand = function (self )
1049
1049
if isOver (self ) then
1050
- SCREENMAN :GetTopScreen ():SetSongPosition (self :GetX () * musicratio )
1050
+ SCREENMAN :GetTopScreen ():SetSongPosition (self :GetX () * musicratio , 0 )
1051
1051
end
1052
1052
end ,
1053
1053
MouseRightClickMessageCommand = function (self )
Original file line number Diff line number Diff line change @@ -319,8 +319,9 @@ class LunaScreenGameplayPractice : public Luna<ScreenGameplayPractice>
319
319
public:
320
320
static int SetSongPosition (T* p, lua_State* L)
321
321
{
322
- float given = FArg (1 );
323
- p->SetSongPosition (given);
322
+ float position = FArg (1 );
323
+ float delay = FArg (2 );
324
+ p->SetSongPosition (position, delay);
324
325
return 0 ;
325
326
}
326
327
You can’t perform that action at this time.
0 commit comments