Fixed a mistake in r12232 related to char saving
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12235 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
ed0bf66c0e
commit
eeb43aa430
@ -6828,7 +6828,7 @@ int pc_autosave(int tid,unsigned int tick,int id,int data)
|
|||||||
iter = mapit_getallusers();
|
iter = mapit_getallusers();
|
||||||
for( sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); sd = (TBL_PC*)mapit_next(iter) )
|
for( sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); sd = (TBL_PC*)mapit_next(iter) )
|
||||||
{
|
{
|
||||||
if(sd->bl.id == last_save_id) {
|
if(sd->bl.id == last_save_id && save_flag != 1) {
|
||||||
save_flag = 1;
|
save_flag = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user