Skip to content

Commit 25a9f28

Browse files
committed
Fix crash on goal deletion for *nix
1 parent 590310e commit 25a9f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Profile.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ class LunaScoreGoal : public Luna<ScoreGoal>
18901890

18911891
static int Delete(T* p, lua_State *L) {
18921892
PROFILEMAN->GetProfile(PLAYER_1)->RemoveGoal(p->chartkey, p->timeassigned);
1893-
return 1;
1893+
return 0;
18941894
}
18951895

18961896
static int GetPBUpTo(T* p, lua_State *L) {

0 commit comments

Comments
 (0)