gamemode/server/states: Switch to generated implementation

This has the benefit that all base info is present as meta info and setting a member to nil simply uses the meta member instead.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2018-07-05 06:54:05 +02:00
parent 8e92eeef70
commit bf0673914b
7 changed files with 77 additions and 12 deletions
@@ -1,7 +1,7 @@
--[[
The MIT License (MIT)
Copyright (c) 2015 Xaymar
Copyright (c) 2015-2018 Xaymar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -22,7 +22,9 @@
SOFTWARE.
--]]
StatePostMatch = {}
include "base.lua"
StatePostMatch = state("PostMatch")
function StatePostMatch:OnEnter(OldState)
if GAMEMODE.Config:DebugLog() then print("StatePostMatch: OnEnter") end