Singulo Optimization

This commit is contained in:
Fox-McCloud
2015-06-14 00:31:11 -04:00
parent b3a585172a
commit 5db85679cc
5 changed files with 9 additions and 5 deletions
+2
View File
@@ -830,6 +830,8 @@
float(!has_gravity)
/mob/living/proc/float(on)
if(throwing)
return
if(on && !floating)
animate(src, pixel_y = 2, time = 10, loop = -1)
floating = 1
@@ -26,6 +26,7 @@
var/last_failed_movement = 0//Will not move in the same dir if it couldnt before, will help with the getting stuck on fields thing
var/last_warning
var/consumedSupermatter = 0 //If the singularity has eaten a supermatter shard and can go to stage six
allow_spin = 0
/obj/singularity/New(loc, var/starting_energy = 50, var/temp = 0)
//CARN: admin-alert for chuckle-fuckery.