Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit ae6e0e9

Browse files
committed
idfk
1 parent 0da11c4 commit ae6e0e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

byond-extools/src/monstermos/monstermos.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ trvh refresh_atmos_grid(unsigned int args_len, Value* args, Value src)
442442
}
443443

444444
void initialize_gas_overlays() {
445-
Container meta_gas_info = Value::Global().get("meta_gas_info");
445+
Container meta_gas_info = GetAssocElement(0x52, 0, STRING, Core::GetStringId("meta_gas_info"));
446446
if (!meta_gas_info.type) return;
447447
for (int i = 0; i < TOTAL_NUM_GASES; ++i)
448448
{
@@ -501,7 +501,7 @@ const char* enable_monstermos()
501501
//Set up gas types map
502502
std::vector<Value> nullvector = { Value(0.0f) };
503503
Container gas_types_list = Core::get_proc("/proc/gas_types").call(nullvector);
504-
Container meta_gas_info = Value::Global().get("meta_gas_info");
504+
Container meta_gas_info = GetAssocElement(0x52, 0, STRING, Core::GetStringId("meta_gas_info"));
505505
int gaslen = gas_types_list.length();
506506
if (gaslen != TOTAL_NUM_GASES) {
507507
return "TOTAL_NUM_GASES does not match the number of /datum/gas subtypes!!";

0 commit comments

Comments
 (0)