mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 06:46:23 +00:00
revert adding nil to json
it causes issues, not worth it
This commit is contained in:
@@ -551,8 +551,6 @@ static void JsonEncodeRecursive(nlohmann::json& json, const sol::object& left, c
|
||||
nlohmann::json value;
|
||||
switch (right.get_type()) {
|
||||
case sol::type::lua_nil:
|
||||
value = nullptr;
|
||||
return;
|
||||
case sol::type::none:
|
||||
return;
|
||||
case sol::type::poly:
|
||||
|
||||
Reference in New Issue
Block a user