Attempted wilderness performance increase (#1841)

* Attempted wilderness performance increase

* might as well

* Edit comments

* Moves alien change out of polaris file
This commit is contained in:
Cyantime
2017-07-19 15:30:22 -04:00
committed by Arokha Sieyes
parent 97e851f2e4
commit 3f48e8ae07
8 changed files with 137 additions and 6 deletions
+9
View File
@@ -5,6 +5,8 @@
icon_state = "rup"
var/spawn_nothing_percentage = 0 // this variable determines the likelyhood that this random object will not spawn anything
var/spawned_thing //VOREStation Edit
// creates a new object and deletes itself
/obj/random/New()
@@ -28,6 +30,13 @@
A.pixel_x = pixel_x
A.pixel_y = pixel_y
//VOREStation Edit
spawned_thing = A
/obj/random/Destroy()
spawned_thing = null
return ..()
//VOREStation Edit End
/obj/random/single
name = "randomly spawned object"