Merge pull request #1020 from ZomgPonies/master

Mob login runtime fix
This commit is contained in:
TheDZD
2015-05-12 18:47:40 -04:00
2 changed files with 4 additions and 4 deletions
@@ -1,5 +1,9 @@
/mob/living/carbon/human/Login()
..()
if(species && species.ventcrawler)
src << "<span class='notice'>You can ventcrawl! Use alt+click on vents to quickly travel about the station.</span>"
update_pipe_vision()
update_hud()
ticker.mode.update_all_synd_icons() //This proc only sounds CPU-expensive on paper. It is O(n^2), but the outer for-loop only iterates through syndicates, which are only prsenet in nuke rounds and even when they exist, there's usually 6 of them.
return
-4
View File
@@ -8,10 +8,6 @@
player_logged = 0
//Vents
if(ishuman(src))
var/mob/living/carbon/human/H
if(H.species.ventcrawler)
src << "<span class='notice'>You can ventcrawl! Use alt+click on vents to quickly travel about the station.</span>"
if(ventcrawler)
src << "<span class='notice'>You can ventcrawl! Use alt+click on vents to quickly travel about the station.</span>"
//Should update regardless of if we can ventcrawl, since we can end up in pipes in other ways.