game logic: make apocalypse callable from other contexts

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>