Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Solocraft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ class solocraft_player_instance_handler : public PlayerScript {
std::map<uint32, float> _unitDifficulty;

// Set the instance difficulty
int CalculateDifficulty(Map* map, Player* /*player*/) {
float CalculateDifficulty(Map* map, Player* /*player*/) {
//float difficulty = 0.0;//changed from 1.0

if (map) {
Expand Down Expand Up @@ -705,4 +705,4 @@ void AddSolocraftScripts()
new SolocraftConfig();
new SolocraftAnnounce();
new solocraft_player_instance_handler();
}
}