Move NanoUI cache update to client/New()

This commit is contained in:
GinjaNinja32
2014-10-11 18:40:09 +01:00
parent e67e37b010
commit 08b967c9e0
2 changed files with 1 additions and 2 deletions

View File

@@ -159,6 +159,7 @@
log_client_to_db() log_client_to_db()
send_resources() send_resources()
nanomanager.send_resources(src)
if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates. if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates.
winset(src, "rpane.changelog", "background-color=#eaeaea;font-style=bold") winset(src, "rpane.changelog", "background-color=#eaeaea;font-style=bold")

View File

@@ -55,5 +55,3 @@
var/mob/living/carbon/human/H = src var/mob/living/carbon/human/H = src
if(H.species && H.species.abilities) if(H.species && H.species.abilities)
client.verbs |= H.species.abilities client.verbs |= H.species.abilities
nanomanager.send_resources(client)