mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 20:14:31 +01:00
VS: Strange incorrect code times
This commit is contained in:
@@ -48,12 +48,12 @@
|
||||
// Okay this mob has a real loaded-from-savefile mind in it!
|
||||
var/datum/preferences/prefs = preferences_datums[persister.mind.loaded_from_ckey]
|
||||
if(!prefs)
|
||||
WARNING("Persist (P4P): [persister.mind] was loaded from ckey [persister.mind.loaded_from_ckey] but no prefs datum found.")
|
||||
warning("Persist (P4P): [persister.mind] was loaded from ckey [persister.mind.loaded_from_ckey] but no prefs datum found.")
|
||||
return
|
||||
|
||||
// Okay, lets do a few checks to see if we should really save tho!
|
||||
if(!prefs.load_character(persister.mind.loaded_from_slot))
|
||||
WARNING("Persist (P4P): [persister.mind] was loaded from slot [persister.mind.loaded_from_slot] but loading prefs failed.")
|
||||
warning("Persist (P4P): [persister.mind] was loaded from slot [persister.mind.loaded_from_slot] but loading prefs failed.")
|
||||
return // Failed to load character
|
||||
|
||||
// For now as a safety measure we will only save if the name matches.
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
var/datum/preferences/prefs = prep_for_persist(occupant)
|
||||
if(!prefs)
|
||||
WARNING("Persist (PID): Skipping [occupant] for persisting, as they have no prefs.")
|
||||
warning("Persist (PID): Skipping [occupant] for persisting, as they have no prefs.")
|
||||
return
|
||||
|
||||
//This one doesn't rely on persistence prefs
|
||||
@@ -232,7 +232,7 @@
|
||||
prefs = prep_for_persist(H)
|
||||
|
||||
if(!prefs)
|
||||
WARNING("Persist (NIF): [H] has no prefs datum, skipping")
|
||||
warning("Persist (NIF): [H] has no prefs datum, skipping")
|
||||
return
|
||||
|
||||
var/obj/item/device/nif/nif = H.nif
|
||||
@@ -254,6 +254,6 @@
|
||||
var/datum/category_item/player_setup_item/vore/nif/nif_prefs = vore_cat.items_by_name["NIF Data"]
|
||||
|
||||
var/savefile/S = new /savefile(prefs.path)
|
||||
if(!S) WARNING ("Persist (NIF): Couldn't load NIF save savefile? [prefs.real_name]")
|
||||
if(!S) warning("Persist (NIF): Couldn't load NIF save savefile? [prefs.real_name]")
|
||||
S.cd = "/character[prefs.default_slot]"
|
||||
nif_prefs.save_character(S)
|
||||
|
||||
@@ -24,10 +24,7 @@
|
||||
|
||||
/obj/item/weapon/gun/energy/sizegun/New()
|
||||
..()
|
||||
if(istype(src, /obj/item/weapon/gun/energy/sizegun/admin))
|
||||
verbs += /obj/item/weapon/gun/energy/sizegun/admin/select_size
|
||||
else
|
||||
verbs += /obj/item/weapon/gun/energy/sizegun/proc/select_size
|
||||
verbs += .proc/select_size
|
||||
|
||||
/obj/item/weapon/gun/energy/sizegun/attack_self(mob/user)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user