mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
OpenDream Compile Fixes (#22518)
Fixes a handful of errors that prevented this codebase from compiling with OpenDream. I have tested this. <img width="1915" height="988" alt="image" src="https://github.com/user-attachments/assets/6f04fa2b-1d08-484d-9fe4-2a3ff7d95a18" />
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
// It's not in the current directory, so try others
|
||||
return __rust_g = "librust_g.so"
|
||||
else
|
||||
return __rust_g = "rust_g"
|
||||
return __rust_g = "rust_g.dll"
|
||||
|
||||
#define RUST_G (__rust_g || __detect_rust_g())
|
||||
#endif
|
||||
|
||||
@@ -10,19 +10,19 @@
|
||||
name="DISABILITY"
|
||||
|
||||
// Mutation to give (or 0)
|
||||
var/mutation=0
|
||||
var/mutation
|
||||
|
||||
// Disability to give (or 0)
|
||||
var/disability=0
|
||||
var/disability
|
||||
|
||||
// SDisability to give (or 0)
|
||||
var/sdisability=0
|
||||
var/sdisability
|
||||
|
||||
// Activation message
|
||||
var/activation_message=""
|
||||
var/activation_message
|
||||
|
||||
// Yay, you're no longer growing 3 arms
|
||||
var/deactivation_message=""
|
||||
var/deactivation_message
|
||||
|
||||
/datum/dna/gene/disability/can_activate(var/mob/M,var/flags)
|
||||
return 1 // Always set!
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
author: Hellfirejag
|
||||
delete-after: True
|
||||
changes:
|
||||
- refactor: "Fixed a small handful of code errors that prevented OpenDream from compiling."
|
||||
+1
-1
@@ -664,7 +664,7 @@ macro "hotkeymode"
|
||||
macro "borgmacro"
|
||||
elem
|
||||
name = "TAB"
|
||||
command = ".winset \"mainwindow.macro=borghotkeymode hotkey_toggle.is-checked=true mapwindow.map.focus=true""
|
||||
command = ".winset \"mainwindow.macro=borghotkeymode hotkey_toggle.is-checked=true mapwindow.map.focus=true \""
|
||||
elem
|
||||
name = "CENTER+REP"
|
||||
command = ".center"
|
||||
|
||||
Reference in New Issue
Block a user