diff options
Diffstat (limited to 'util/uhash_loader.c')
-rw-r--r-- | util/uhash_loader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/uhash_loader.c b/util/uhash_loader.c index 00ba2d70..771882a0 100644 --- a/util/uhash_loader.c +++ b/util/uhash_loader.c @@ -127,6 +127,7 @@ int loadmoney(userec_t *user) if(lseek(fd, (off_t)((int)&(user->money) - (int)user), SEEK_SET) >= 0) read(fd, &money, sizeof(int)); close(fd); + user->money=money; return money; } |