Files
BusyRabbit/Content/Lua/Level/LevelGameMode.lua

13 lines
308 B
Lua
Raw Normal View History

2025-09-24 14:09:51 +08:00
local LevelGameMode = {}
function LevelGameMode:K2_PostLogin(new_player_controller)
local new_player_state = new_player_controller.PlayerState
local role = new_player_state:CreateRoleRoster(new_player_controller)
new_player_controller:Possess(role)
end
return Class(nil, nil, LevelGameMode)