Skip to content

Commit

Permalink
the array size for the lua functions has no relation whatsoever with …
Browse files Browse the repository at this point in the history
…IMaxPlayerCount, they currently just happen to be the same value
  • Loading branch information
barbeque-squared committed Dec 31, 2024
1 parent 5ef86f5 commit 689882b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/ULuaScreenSing.pas
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function ULuaScreenSing_SetSettings(L: Plua_State): Integer; cdecl;
function ULuaScreenSing_GetSongLines(L: Plua_State): Integer; cdecl;

const
ULuaScreenSing_Lib_f: array [0..UIni.IMaxPlayerCount-1] of lual_reg = (
ULuaScreenSing_Lib_f: array [0..11] of lual_reg = (
(name:'GetScores';func:ULuaScreenSing_GetScores),
(name:'GetRating';func:ULuaScreenSing_GetRating),
(name:'GetBPM';func:ULuaScreenSing_GetBPM),
Expand Down

0 comments on commit 689882b

Please sign in to comment.