Don't Starve Together

Don't Starve Together

Zbyt mało ocen
it just a test mod
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
566.000 B
13 grudnia 2023 o 19:47
1 lista zmian ( zobacz )

Zasubskrybuj, aby pobrać
it just a test mod

Opis
it just a test mod for sit on anything

to use: c_spawn("testlog") and wait 10seconds
Komentarzy: 1
󰀏Niko 26 stycznia o 11:57 
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.