mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Tweak rollback stuff
This commit is contained in:
parent
0de3fb786d
commit
7ef0a13250
4 changed files with 15 additions and 8 deletions
|
@ -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()){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue