mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
tried to reduce unnecessary map saving disk i/o a bit
This commit is contained in:
parent
a649d43fe7
commit
9b565b6bc4
5 changed files with 106 additions and 58 deletions
|
@ -628,6 +628,10 @@ public:
|
|||
m_timestamp = time;
|
||||
setChangedFlag();
|
||||
}
|
||||
void setTimestampNoChangedFlag(u32 time)
|
||||
{
|
||||
m_timestamp = time;
|
||||
}
|
||||
u32 getTimestamp()
|
||||
{
|
||||
return m_timestamp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue