Commit Graph
4 Commits
Author SHA1 Message Date
BalaM314andGitHub 08f63122ba Set controller after setting spawnedByCore (fix UnitChangeEvent) (#8428)
* CoreBlock.playerSpawn: Set spawnedByCore first
* The call to unit.controller() calls player.unit(unit)
* That function fires UnitChangeEvent
* The unit in UnitChangeEvent has spawnedByCore incorrectly set to false
* This caused me to waste an hour of my life while making a plugin

* Might as well improve code readability
2023-03-25 13:55:26 -04:00
BalaM314andGitHub d6fc4bfdb1 Add Drill.drillEffectChance (for very fast drills) (#7704) 2022-10-13 13:12:03 -04:00
BalaM314andGitHub d18579b59a Allow printflushing to null (#7243)
* Allow `printflush`ing to null

* Dumb
2022-07-28 09:41:31 -04:00
BalaM314andGitHub 8ec2e40610 Add "Exiting to reload mods." logger message (#6662)
To allow for the game to be automatically restarted
2022-03-24 10:42:44 -04:00