DarianLStephens / hamlet-dst

DST in Hamlet! With a particular focus on the interior system
3 stars 0 forks source link

Doors are invisible when first placed, until save/reload #5

Closed DarianLStephens closed 1 year ago

DarianLStephens commented 2 years ago

If you place a door, it will be in the right place on the server, but invisible on the client until you reconnect. After that, it's able to play its animation to open its door when you build its room, which is nice.

DarianLStephens commented 1 year ago

Finally fixed! I traced back the animdata stuff it used to prefabutil.lua, and just made it get filled with the necessary stuff in the prefab itself directly.