| 118 | } |
| 119 | |
| 120 | void TwoPlayerModule::onLocalPlayerDeath(GlobedGJBGL* gjbgl, bool real) { |
| 121 | // don't respawn immediately if we are not the main player, instead wait for the main player to respawn us |
| 122 | if (real && m_isPlayer2) { |
| 123 | gjbgl->cancelLocalRespawn(); |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | void TwoPlayerModule::onPreUpdate(GlobedGJBGL* gjbgl, float dt) { |
| 128 | auto ghost = gjbgl->m_fields->m_ghost.get(); |
nothing calls this directly
no test coverage detected