Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
qubka committed Oct 6, 2024
1 parent eebc1ff commit 503be52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/export/cvars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -823,9 +823,9 @@ extern "C" PLUGIN_API void GetConVarString(plg::string& output, CConVarBaseData*
* @param conVar Pointer to the console variable data.
* @return The current Color value of the console variable.
*/
extern "C" PLUGIN_API Color GetConVarColor(CConVarBaseData* conVar)
extern "C" PLUGIN_API int GetConVarColor(CConVarBaseData* conVar)
{
return conVar->Cast<Color>()->GetValue();
return conVar->Cast<Color>()->GetValue().GetRawColor();
}

/**
Expand Down

0 comments on commit 503be52

Please sign in to comment.