mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 21:44:05 +09:00
player is now nullable; wtf is calling Ingame 5 times?
This commit is contained in:
@@ -84,7 +84,9 @@ internal object WeatherMixer : RNGConsumer {
|
||||
/**
|
||||
* Part of Ingame update
|
||||
*/
|
||||
fun update(delta: Float, player: ActorWithBody) {
|
||||
fun update(delta: Float, player: ActorWithBody?) {
|
||||
if (player == null) return
|
||||
|
||||
currentWeather = weatherList[WEATHER_GENERIC]!![0]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user