Skip to content

Commit

Permalink
change return to 0, because t Nothing is returned in Lua
Browse files Browse the repository at this point in the history
  • Loading branch information
ipochto committed Nov 25, 2023
1 parent 5601b3f commit 5ab2804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/script_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ static int CclDefineMapSetup(lua_State *l)
LuaCheckArgs(l, 1);
Map.Info.Filename = LuaToString(l, 1);

return 1;
return 0;
}
/**
** Register CCL features for map.
Expand Down

0 comments on commit 5ab2804

Please sign in to comment.