dt-rush / sameriver

game engine written in go
Other
1 stars 1 forks source link

detect unknown keys in Spawn spec map #59

Open dt-rush opened 1 year ago

dt-rush commented 1 year ago

If you just directly put in the components map instead of putting it under the key "components", it'll fail silently, spawning an entity without any components