mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Tweak rollback stuff
This commit is contained in:
@@ -1828,8 +1828,8 @@ void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks)
|
||||
// Find out whether there is a suspect for this action
|
||||
std::string suspect;
|
||||
if(m_gamedef->rollback()){
|
||||
// Max. 5 seconds ago
|
||||
suspect = m_gamedef->rollback()->getSuspect(p0, 5);
|
||||
// Max. 5 seconds ago, shortcut at 98 points
|
||||
suspect = m_gamedef->rollback()->getSuspect(p0, 5, 95);
|
||||
}
|
||||
|
||||
if(!suspect.empty()){
|
||||
|
Reference in New Issue
Block a user