mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 01:52:29 +00:00
Added a check when a user changes save slot. Thanks Carn <3
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4059 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -669,7 +669,7 @@ datum/preferences
|
||||
|
||||
else if(link_tags["changeslot"])
|
||||
savefile_save(user)
|
||||
user.client.activeslot = text2num(link_tags["changeslot"])
|
||||
user.client.activeslot = min(max(text2num(link_tags["changeslot"]), 1), MAX_SAVE_SLOTS)
|
||||
savefile_load(user)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user