iw5-mod/src/module/console.cpp

18 lines
287 B
C++
Raw Normal View History

2018-12-24 17:22:56 -05:00
#include <std_include.hpp>
#include "loader/module_loader.hpp"
#include "console.hpp"
#include "game/game.hpp"
class console final : public module
{
public:
void post_load() override
{
if (game::is_dedi()) return;
game::native::Sys_ShowConsole();
}
};
REGISTER_MODULE(console)