1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Remove incorrect code that resets picked peep

The game command owner is never set for game actions so this would be incorrect
This commit is contained in:
duncanspumpkin
2019-06-20 20:13:23 +01:00
parent 27e958fe2b
commit 2de9430bd3

View File

@@ -846,8 +846,6 @@ bool Peep::Place(TileCoordsXYZ location, bool apply)
happiness_target = std::max(happiness_target - 10, 0);
UpdateCurrentActionSpriteType();
}
network_set_pickup_peep(game_command_playerid, nullptr);
}
return true;