Don't Starve Together

Don't Starve Together

Not enough ratings
it just a test mod
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
566.000 B
13 Dec, 2023 @ 7:47pm
1 Change Note ( view )

Subscribe to download
it just a test mod

Description
it just a test mod for sit on anything

to use: c_spawn("testlog") and wait 10seconds
1 Comments
󰀏Niko 26 Jan @ 11:57am 
The core of the problem with the testlog is that you are both using SpawnPrefab to spawn a log which causes said log to run it's spawn code like normal, but then also return it in testlog's main function which will cause it to run the spawn code a second time.
This is likely to cause issues with almost any mod that uses PrefabPostInits as most are designed to only be ran once per object.