Gets rid of runtime spam when size is changed.

This commit is contained in:
killer653
2017-08-08 16:18:08 -04:00
parent c76a790fe7
commit 91a2ac1bc0
+1 -1
View File
@@ -61,7 +61,7 @@ var/const/RESIZE_A_SMALLTINY = (RESIZE_SMALL + RESIZE_TINY) / 2
/mob/living/proc/resize(var/new_size, var/animate = TRUE)
if(size_multiplier == new_size)
return 1
ASSERT(new_size >= RESIZE_TINY && new_size <= RESIZE_HUGE)
//ASSERT(new_size >= RESIZE_TINY && new_size <= RESIZE_HUGE) //You served your use. Now scurry off and stop spamming my chat.
if(animate)
var/matrix/resize = matrix() // Defines the matrix to change the player's size
resize.Scale(new_size) //Change the size of the matrix