mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Fixes issue 739.
Fixes issue 505. Boxing gloves can no longer be used to make stungloves (with descriptive, adventure game style failure message~). People without savefiles no longer get the "Your save has been deleted" message when they start the game. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4402 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -117,9 +117,10 @@ datum/preferences/proc/savefile_load(mob/user)
|
||||
var/version = null
|
||||
F["version"] >> version
|
||||
|
||||
if (isnull(version) || version < SAVEFILE_VERSION_MIN || version > SAVEFILE_VERSION_MAX)
|
||||
if(isnull(version) || version < SAVEFILE_VERSION_MIN || version > SAVEFILE_VERSION_MAX)
|
||||
fdel(path)
|
||||
alert(user, "Your savefile was incompatible with this version and was deleted.")
|
||||
if(version)
|
||||
alert(user, "Your savefile was incompatible with this version and was deleted.")
|
||||
return 0
|
||||
|
||||
F["real_name"] >> src.real_name
|
||||
|
||||
Reference in New Issue
Block a user